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§
source§impl PartialEq for Exception
impl PartialEq for Exception
impl Eq for Exception
impl StructuralPartialEq for Exception
Auto Trait Implementations§
impl Freeze for Exception
impl RefUnwindSafe for Exception
impl Send for Exception
impl Sync for Exception
impl Unpin for Exception
impl UnwindSafe for Exception
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