Searched refs:BioMethod (Results 1 – 2 of 2) sorted by relevance
25 pub struct BioMethod(BIO_METHOD); struct27 impl BioMethod { implementation28 fn new<S: Read + Write>() -> Result<BioMethod, ErrorStack> { in new() argument29 BIO_METHOD::new::<S>().map(BioMethod) in new()33 unsafe impl Sync for BioMethod {} implementation34 unsafe impl Send for BioMethod {} implementation36 pub fn new<S: Read + Write>(stream: S) -> Result<(*mut BIO, BioMethod), ErrorStack> { in new() argument37 let method = BioMethod::new::<S>()?; in new()
72 use crate::ssl::bio::BioMethod;3394 method: ManuallyDrop<BioMethod>,