pub enum WakeError {
TooShortPacket,
CannotFindStart,
DestuffingFailed,
WrongPacketLength,
WrongPacketCrc,
WrongAddrRange,
WrongCmdRange,
}
Expand description
Wake decoder/encoder errors
Variants§
TooShortPacket
CannotFindStart
DestuffingFailed
WrongPacketLength
WrongPacketCrc
WrongAddrRange
WrongCmdRange
Trait Implementations§
Source§impl Error for WakeError
impl Error for WakeError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl Ord for WakeError
impl Ord for WakeError
Source§impl PartialOrd for WakeError
impl PartialOrd for WakeError
impl Copy for WakeError
impl Eq for WakeError
impl StructuralPartialEq for WakeError
Auto Trait Implementations§
impl Freeze for WakeError
impl RefUnwindSafe for WakeError
impl Send for WakeError
impl Sync for WakeError
impl Unpin for WakeError
impl UnwindSafe for WakeError
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