Lines Matching refs:state
303 /// of the state of this option. It only affects `SslStream::ssl_read` and
775 // out. When that happens, we wouldn't be able to look up the callback's state in the
1916 /// Information about the state of a cipher.
2192 /// The state of an SSL/TLS session.
2306 .field("state", &self.state_string_long())
2474 /// Returns a short string describing the state of the session.
2477 let state = unsafe {
2482 str::from_utf8(state.to_bytes()).unwrap()
2485 /// Returns a longer string describing the state of the session.
2488 let state = unsafe {
2493 str::from_utf8(state.to_bytes()).unwrap()
3716 /// Returns the session's shutdown state.
3725 /// Sets the session's shutdown state.
3730 pub fn set_shutdown(&mut self, state: ShutdownState) {
3731 unsafe { ffi::SSL_set_shutdown(self.ssl.as_ptr(), state.bits()) }
4053 /// The shutdown state of a session.