pub enum DeviceError {
NoDevice,
FileHandleClone,
InvalidIOCTL,
VersionMismatch,
NoRXConfig,
Busy,
Copy,
InvalidConfig,
OutOfMemory,
BufferEmpty,
PacketSize,
Unknown,
}
Expand description
Errors encountered during communication with the CC1101 driver
Variants§
NoDevice
FileHandleClone
InvalidIOCTL
VersionMismatch
NoRXConfig
Busy
Copy
InvalidConfig
OutOfMemory
BufferEmpty
PacketSize
Unknown
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceError
impl RefUnwindSafe for DeviceError
impl Send for DeviceError
impl Sync for DeviceError
impl Unpin for DeviceError
impl UnwindSafe for DeviceError
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