pub enum Exception {
IllegalFunction = 1,
IllegalDataAddress = 2,
IllegalDataValue = 3,
ServerDeviceFailure = 4,
Acknowledge = 5,
ServerDeviceBusy = 6,
MemoryParityError = 8,
GatewayPathUnavailable = 10,
GatewayTargetDevice = 11,
}
Expand description
A server (slave) exception.
Variants§
IllegalFunction = 1
IllegalDataAddress = 2
IllegalDataValue = 3
ServerDeviceFailure = 4
Acknowledge = 5
ServerDeviceBusy = 6
MemoryParityError = 8
GatewayTargetDevice = 11
Trait Implementations§
impl Copy 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