Lines Matching refs:HandshakeError
108 pub use crate::ssl::error::{Error, ErrorCode, HandshakeError};
2276 pub fn connect<S>(self, stream: S) -> Result<SslStream<S>, HandshakeError<S>>
2295 pub fn accept<S>(self, stream: S) -> Result<SslStream<S>, HandshakeError<S>>
3438 pub fn handshake(mut self) -> Result<SslStream<S>, HandshakeError<S>> {
3445 Err(HandshakeError::WouldBlock(self))
3447 _ => Err(HandshakeError::Failure(self)),
3902 pub fn connect(mut self) -> Result<SslStream<S>, HandshakeError<S>> {
3907 Err(HandshakeError::WouldBlock(MidHandshakeSslStream {
3912 _ => Err(HandshakeError::Failure(MidHandshakeSslStream {
3921 pub fn accept(mut self) -> Result<SslStream<S>, HandshakeError<S>> {
3926 Err(HandshakeError::WouldBlock(MidHandshakeSslStream {
3931 _ => Err(HandshakeError::Failure(MidHandshakeSslStream {
3946 pub fn handshake(mut self) -> Result<SslStream<S>, HandshakeError<S>> {
3951 Err(HandshakeError::WouldBlock(MidHandshakeSslStream {
3956 _ => Err(HandshakeError::Failure(MidHandshakeSslStream {