#[repr(u16)]pub enum NackReason {
UnknownPid = 0,
FormatError = 1,
HardwareFault = 2,
ProxyReject = 3,
WriteProtect = 4,
UnsupportedCommandClass = 5,
DataOutOfRange = 6,
BufferFull = 7,
PacketSizeUnsupported = 8,
SubDeviceOutOfRange = 9,
ProxyBufferFull = 10,
}
Variants§
UnknownPid = 0
FormatError = 1
HardwareFault = 2
ProxyReject = 3
WriteProtect = 4
UnsupportedCommandClass = 5
DataOutOfRange = 6
BufferFull = 7
PacketSizeUnsupported = 8
SubDeviceOutOfRange = 9
ProxyBufferFull = 10
Implementations§
Trait Implementations§
Source§impl Clone for NackReason
impl Clone for NackReason
Source§fn clone(&self) -> NackReason
fn clone(&self) -> NackReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NackReason
impl Debug for NackReason
Source§impl Format for NackReason
impl Format for NackReason
Source§impl PartialEq for NackReason
impl PartialEq for NackReason
Source§impl TryFrom<u16> for NackReason
impl TryFrom<u16> for NackReason
impl Copy for NackReason
impl Eq for NackReason
impl StructuralPartialEq for NackReason
Auto Trait Implementations§
impl Freeze for NackReason
impl RefUnwindSafe for NackReason
impl Send for NackReason
impl Sync for NackReason
impl Unpin for NackReason
impl UnwindSafe for NackReason
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