pub enum MbusError {
FrameError(FrameError),
ApplicationLayerError(ApplicationLayerError),
}
Variants§
FrameError(FrameError)
ApplicationLayerError(ApplicationLayerError)
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<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.
Auto Trait Implementations§
impl Freeze for MbusError
impl RefUnwindSafe for MbusError
impl Send for MbusError
impl Sync for MbusError
impl Unpin 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