#[non_exhaustive]pub enum ApplicationLayerError {
MissingControlInformation,
InvalidControlInformation {
byte: u8,
},
IdentificationNumberError {
digits: [u8; 4],
number: u32,
},
InvalidManufacturerCode {
code: u16,
},
InsufficientData,
Unimplemented {
feature: &'static str,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingControlInformation
InvalidControlInformation
IdentificationNumberError
InvalidManufacturerCode
InsufficientData
Unimplemented
Trait Implementations§
Source§impl Clone for ApplicationLayerError
impl Clone for ApplicationLayerError
Source§fn clone(&self) -> ApplicationLayerError
fn clone(&self) -> ApplicationLayerError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplicationLayerError
impl Debug for ApplicationLayerError
Source§impl PartialEq for ApplicationLayerError
impl PartialEq for ApplicationLayerError
impl Copy 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 UnsafeUnpin 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