Struct sawp_modbus::Exception
source · [−]pub struct Exception {
pub raw: u8,
pub code: ExceptionCode,
}
Expand description
Information on the exception code parsed
Fields
raw: u8
Value of the exception code byte
code: ExceptionCode
Exception name associated with the raw value
Trait Implementations
impl StructuralPartialEq for Exception
Auto Trait Implementations
impl RefUnwindSafe for Exception
impl Send for Exception
impl Sync for Exception
impl Unpin for Exception
impl UnwindSafe for Exception
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more