pub enum ApplicationLayerError {
MissingControlInformation,
InvalidControlInformation {
byte: u8,
},
IdentificationNumberError {
digits: [u8; 4],
number: u32,
},
InvalidManufacturerCode {
code: u16,
},
InsufficientData,
}
Variants§
MissingControlInformation
InvalidControlInformation
IdentificationNumberError
InvalidManufacturerCode
InsufficientData
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) -> Self
fn from(error: ApplicationLayerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApplicationLayerError
impl PartialEq for ApplicationLayerError
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