pub enum ApplicationLayerError {
MissingControlInformation,
InvalidControlInformation {
byte: u8,
},
IdentificationNumberError {
digits: [u8; 4],
number: u32,
},
InvalidManufacturerCode {
code: u16,
},
}Variants§
MissingControlInformation
InvalidControlInformation
IdentificationNumberError
InvalidManufacturerCode
Trait Implementations§
source§impl Debug for ApplicationLayerError
impl Debug for ApplicationLayerError
source§impl From<ApplicationLayerError> for MbusError
impl From<ApplicationLayerError> for MbusError
source§fn from(error: ApplicationLayerError) -> MbusError
fn from(error: ApplicationLayerError) -> MbusError
Converts to this type from the input type.
source§impl PartialEq for ApplicationLayerError
impl PartialEq for ApplicationLayerError
source§fn eq(&self, other: &ApplicationLayerError) -> bool
fn eq(&self, other: &ApplicationLayerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApplicationLayerError
Auto Trait Implementations§
impl Freeze for ApplicationLayerError
impl RefUnwindSafe for ApplicationLayerError
impl Send for ApplicationLayerError
impl Sync for ApplicationLayerError
impl Unpin for ApplicationLayerError
impl UnwindSafe for ApplicationLayerError
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