pub enum Reason {
UnexpectedReplySize,
BytecountNotEven,
SendBufferEmpty,
RecvBufferEmpty,
SendBufferTooBig,
DecodingError,
EncodingError,
InvalidByteorder,
Custom(String),
}
Expand description
InvalidData
reasons
Variants§
UnexpectedReplySize
BytecountNotEven
SendBufferEmpty
RecvBufferEmpty
SendBufferTooBig
DecodingError
EncodingError
InvalidByteorder
Custom(String)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
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