Searched refs:ShutdownResult (Results 1 - 2 of 2) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
H A D | mod.rs | 31 Error, HandshakeError, MidHandshakeSslStream, ShutdownResult, ShutdownState, Ssl, SslAcceptor, 882 assert_eq!(s.shutdown().unwrap(), ShutdownResult::Received); in shutdown() 889 assert_eq!(s.shutdown().unwrap(), ShutdownResult::Sent); in shutdown() 891 assert_eq!(s.shutdown().unwrap(), ShutdownResult::Received); in shutdown()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | mod.rs | 3701 /// the peer, after which `ShutdownResult::Sent` is returned. The second step awaits the receipt in fmt() 3702 /// of a close notify message from the peer, after which `ShutdownResult::Received` is returned. in fmt() 3708 pub fn shutdown(&mut self) -> Result<ShutdownResult, Error> { in fmt() 3710 0 => Ok(ShutdownResult::Sent), in fmt() 3711 1 => Ok(ShutdownResult::Received), in fmt() 4044 pub enum ShutdownResult { enum
|
Completed in 8 milliseconds