Enum ambient_proxy::Error
source · pub enum Error {
MessageTooLong(u32),
BadMsgFormat(Error),
IOError(Error),
ConnectionError(ConnectionError),
ReadExactError(ReadExactError),
ReadToEndError(ReadToEndError),
WriteError(WriteError),
SendDatagramError(SendDatagramError),
TLSError(Error),
Other(Error),
}Variants§
MessageTooLong(u32)
BadMsgFormat(Error)
IOError(Error)
ConnectionError(ConnectionError)
ReadExactError(ReadExactError)
ReadToEndError(ReadToEndError)
WriteError(WriteError)
SendDatagramError(SendDatagramError)
TLSError(Error)
Other(Error)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ReadExactError> for Error
impl From<ReadExactError> for Error
source§fn from(source: ReadExactError) -> Self
fn from(source: ReadExactError) -> Self
Converts to this type from the input type.
source§impl From<ReadToEndError> for Error
impl From<ReadToEndError> for Error
source§fn from(source: ReadToEndError) -> Self
fn from(source: ReadToEndError) -> Self
Converts to this type from the input type.
source§impl From<SendDatagramError> for Error
impl From<SendDatagramError> for Error
source§fn from(source: SendDatagramError) -> Self
fn from(source: SendDatagramError) -> Self
Converts to this type from the input type.
source§impl From<WriteError> for Error
impl From<WriteError> for Error
source§fn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Converts to this type from the input type.