pub enum AnyTlsError {
Io(Error),
Tls(String),
Protocol(String),
AuthenticationFailed,
StreamNotFound(u32),
SessionClosed,
InvalidFrame(String),
PaddingScheme(String),
Config(String),
}Expand description
AnyTLS protocol errors
Variants§
Io(Error)
IO error from underlying system calls
Tls(String)
TLS-related error
Protocol(String)
Protocol violation or parsing error
AuthenticationFailed
Authentication failed (wrong password or credentials)
StreamNotFound(u32)
Stream ID not found in session
SessionClosed
Session has been closed
InvalidFrame(String)
Invalid or malformed frame
PaddingScheme(String)
Padding scheme error
Config(String)
Configuration error
Trait Implementations§
Source§impl Debug for AnyTlsError
impl Debug for AnyTlsError
Source§impl Display for AnyTlsError
impl Display for AnyTlsError
Source§impl Error for AnyTlsError
impl Error for AnyTlsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for AnyTlsError
impl From<Error> for AnyTlsError
Source§impl From<Error> for AnyTlsError
impl From<Error> for AnyTlsError
Auto Trait Implementations§
impl Freeze for AnyTlsError
impl !RefUnwindSafe for AnyTlsError
impl Send for AnyTlsError
impl Sync for AnyTlsError
impl Unpin for AnyTlsError
impl !UnwindSafe for AnyTlsError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more