Searched refs:BioMethod (Results 1 – 2 of 2) sorted by relevance
105 unsafe impl Sync for BioMethod {} implementation106 unsafe impl Send for BioMethod {} implementation115 pub struct BioMethod(BioMethodInner); struct117 impl BioMethod { impl118 fn new<S: Read + Write>() -> Result<BioMethod, ErrorStack> { in new() argument120 Ok(BioMethod(method)) in new()157 pub(crate) fn new<S: Read + Write>(stream: S) -> Result<(*mut BIO, BioMethod), ErrorStack> { in new() argument158 let bio_method = BioMethod::new::<S>()?; in new()
29 use crate::util::c_openssl::bio::BioMethod;39 method: ManuallyDrop<BioMethod>,