pub enum TransceiverError {
Show 15 variants
Socket(AddrParseError),
ConnectionError(ConnectionError),
ConnectError(ConnectError),
IO(Error),
Crypto(Error),
SendToRx(WriteError),
Encode(String),
Decode(String),
RecvFromTx(ReadToEndError),
Join(JoinError),
DataMismatch(String, String),
StreamEnd(String, String, String, String),
BincodeEncode(EncodeError),
BincodeDecode(DecodeError),
Duration(VarIntBoundsExceeded),
}
Variants§
Socket(AddrParseError)
ConnectionError(ConnectionError)
ConnectError(ConnectError)
IO(Error)
Crypto(Error)
SendToRx(WriteError)
Encode(String)
Decode(String)
RecvFromTx(ReadToEndError)
Join(JoinError)
DataMismatch(String, String)
StreamEnd(String, String, String, String)
BincodeEncode(EncodeError)
BincodeDecode(DecodeError)
Duration(VarIntBoundsExceeded)
Trait Implementations§
source§impl Debug for TransceiverError
impl Debug for TransceiverError
source§impl Display for TransceiverError
impl Display for TransceiverError
source§impl Error for TransceiverError
impl Error for TransceiverError
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<AddrParseError> for TransceiverError
impl From<AddrParseError> for TransceiverError
source§fn from(source: AddrParseError) -> Self
fn from(source: AddrParseError) -> Self
Converts to this type from the input type.
source§impl From<ConnectError> for TransceiverError
impl From<ConnectError> for TransceiverError
source§fn from(source: ConnectError) -> Self
fn from(source: ConnectError) -> Self
Converts to this type from the input type.
source§impl From<ConnectionError> for TransceiverError
impl From<ConnectionError> for TransceiverError
source§fn from(source: ConnectionError) -> Self
fn from(source: ConnectionError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for TransceiverError
impl From<DecodeError> for TransceiverError
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<EncodeError> for TransceiverError
impl From<EncodeError> for TransceiverError
source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for TransceiverError
impl From<Error> for TransceiverError
source§impl From<Error> for TransceiverError
impl From<Error> for TransceiverError
source§impl From<JoinError> for TransceiverError
impl From<JoinError> for TransceiverError
source§impl From<ReadToEndError> for TransceiverError
impl From<ReadToEndError> for TransceiverError
source§fn from(source: ReadToEndError) -> Self
fn from(source: ReadToEndError) -> Self
Converts to this type from the input type.
source§impl From<VarIntBoundsExceeded> for TransceiverError
impl From<VarIntBoundsExceeded> for TransceiverError
source§fn from(source: VarIntBoundsExceeded) -> Self
fn from(source: VarIntBoundsExceeded) -> Self
Converts to this type from the input type.
source§impl From<WriteError> for TransceiverError
impl From<WriteError> for TransceiverError
source§fn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TransceiverError
impl !RefUnwindSafe for TransceiverError
impl Send for TransceiverError
impl Sync for TransceiverError
impl Unpin for TransceiverError
impl !UnwindSafe for TransceiverError
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