#[non_exhaustive]pub enum MbusError {
FrameError(FrameError),
WirelessFrameError(FrameError),
ApplicationLayerError(ApplicationLayerError),
DataRecordError(DataRecordError),
}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.
FrameError(FrameError)
WirelessFrameError(FrameError)
ApplicationLayerError(ApplicationLayerError)
DataRecordError(DataRecordError)
Trait Implementations§
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 From<DataRecordError> for MbusError
impl From<DataRecordError> for MbusError
Source§fn from(error: DataRecordError) -> Self
fn from(error: DataRecordError) -> Self
Converts to this type from the input type.
Source§impl From<FrameError> for MbusError
impl From<FrameError> for MbusError
Source§fn from(error: FrameError) -> Self
fn from(error: FrameError) -> Self
Converts to this type from the input type.
Source§impl From<FrameError> for MbusError
impl From<FrameError> for MbusError
Source§fn from(error: FrameError) -> Self
fn from(error: FrameError) -> Self
Converts to this type from the input type.
impl Copy for MbusError
impl StructuralPartialEq for MbusError
Auto Trait Implementations§
impl Freeze for MbusError
impl RefUnwindSafe for MbusError
impl Send for MbusError
impl Sync for MbusError
impl Unpin for MbusError
impl UnsafeUnpin for MbusError
impl UnwindSafe for MbusError
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