Enum orouter_serial::host::ParseMessageError
source · pub enum ParseMessageError {
MissingSeparator,
InvalidMessage,
InvalidHex(DecodeError),
InvalidPayloadLength,
PayloadTooLong,
}
Variants§
Trait Implementations§
source§impl Debug for ParseMessageError
impl Debug for ParseMessageError
source§impl From<DecodeError> for ParseMessageError
impl From<DecodeError> for ParseMessageError
source§fn from(e: DecodeError) -> ParseMessageError
fn from(e: DecodeError) -> ParseMessageError
Converts to this type from the input type.
source§impl PartialEq for ParseMessageError
impl PartialEq for ParseMessageError
source§fn eq(&self, other: &ParseMessageError) -> bool
fn eq(&self, other: &ParseMessageError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParseMessageError
Auto Trait Implementations§
impl RefUnwindSafe for ParseMessageError
impl Send for ParseMessageError
impl Sync for ParseMessageError
impl Unpin for ParseMessageError
impl UnwindSafe for ParseMessageError
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