pub enum BinaryMessageError {
IntError(NumValueReadError<Error>),
ValueReadError(ValueReadError<Error>),
ValueWriteError(ValueWriteError<Error>),
UnknownDataType(u8),
InvalidUTF8(FromUtf8Error),
IoError(Error),
MessageLen(u32),
}
Variants§
IntError(NumValueReadError<Error>)
ValueReadError(ValueReadError<Error>)
ValueWriteError(ValueWriteError<Error>)
UnknownDataType(u8)
InvalidUTF8(FromUtf8Error)
IoError(Error)
MessageLen(u32)
Trait Implementations§
Source§impl Debug for BinaryMessageError
impl Debug for BinaryMessageError
Source§impl Display for BinaryMessageError
impl Display for BinaryMessageError
Source§impl Error for BinaryMessageError
impl Error for BinaryMessageError
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<BinaryMessageError> for Error
impl From<BinaryMessageError> for Error
Source§fn from(source: BinaryMessageError) -> Self
fn from(source: BinaryMessageError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for BinaryMessageError
impl From<Error> for BinaryMessageError
Source§impl From<FromUtf8Error> for BinaryMessageError
impl From<FromUtf8Error> for BinaryMessageError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<NumValueReadError> for BinaryMessageError
impl From<NumValueReadError> for BinaryMessageError
Source§fn from(source: NumValueReadError<Error>) -> Self
fn from(source: NumValueReadError<Error>) -> Self
Converts to this type from the input type.
Source§impl From<ValueReadError> for BinaryMessageError
impl From<ValueReadError> for BinaryMessageError
Source§fn from(source: ValueReadError<Error>) -> Self
fn from(source: ValueReadError<Error>) -> Self
Converts to this type from the input type.
Source§impl From<ValueWriteError> for BinaryMessageError
impl From<ValueWriteError> for BinaryMessageError
Source§fn from(source: ValueWriteError<Error>) -> Self
fn from(source: ValueWriteError<Error>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BinaryMessageError
impl !RefUnwindSafe for BinaryMessageError
impl Send for BinaryMessageError
impl Sync for BinaryMessageError
impl Unpin for BinaryMessageError
impl !UnwindSafe for BinaryMessageError
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