pub enum EIMZOError {
Io(Error),
JsonParse(Error),
UrlParseError(ParseError),
TlsError(Error),
TlsHandshakeError(HandshakeError<TcpStream>),
HandshakeError(HandshakeError<ClientHandshake<TlsStream<TcpStream>>>),
Unknown,
}Expand description
E-IMZO crate’s error type collection.
Variants§
Io(Error)
JsonParse(Error)
UrlParseError(ParseError)
TlsError(Error)
TlsHandshakeError(HandshakeError<TcpStream>)
HandshakeError(HandshakeError<ClientHandshake<TlsStream<TcpStream>>>)
Unknown
To be used only if you get despaired.
Trait Implementations§
Source§impl Debug for EIMZOError
impl Debug for EIMZOError
Source§impl Display for EIMZOError
impl Display for EIMZOError
Source§impl Error for EIMZOError
impl Error for EIMZOError
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 EIMZOError
impl From<Error> for EIMZOError
Source§impl From<Error> for EIMZOError
impl From<Error> for EIMZOError
Source§impl From<Error> for EIMZOError
impl From<Error> for EIMZOError
Source§impl From<HandshakeError<ClientHandshake<TlsStream<TcpStream>>>> for EIMZOError
impl From<HandshakeError<ClientHandshake<TlsStream<TcpStream>>>> for EIMZOError
Source§fn from(source: HandshakeError<ClientHandshake<TlsStream<TcpStream>>>) -> Self
fn from(source: HandshakeError<ClientHandshake<TlsStream<TcpStream>>>) -> Self
Converts to this type from the input type.
Source§impl From<HandshakeError<TcpStream>> for EIMZOError
impl From<HandshakeError<TcpStream>> for EIMZOError
Source§fn from(source: HandshakeError<TcpStream>) -> Self
fn from(source: HandshakeError<TcpStream>) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for EIMZOError
impl From<ParseError> for EIMZOError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EIMZOError
impl !RefUnwindSafe for EIMZOError
impl Send for EIMZOError
impl Sync for EIMZOError
impl Unpin for EIMZOError
impl !UnwindSafe for EIMZOError
Blanket Implementations§
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