pub enum WakeyError {
InvalidMacLength,
InvalidMacFormat,
SendFailure(Error),
}Expand description
Wrapper Error for fiascoes occuring in this module.
Variants§
InvalidMacLength
The provided MAC address has invalid length.
InvalidMacFormat
The provided MAC address has invalid format.
SendFailure(Error)
There was an error sending the WoL packet.
Trait Implementations§
Source§impl Debug for WakeyError
impl Debug for WakeyError
Source§impl Display for WakeyError
impl Display for WakeyError
Source§impl Error for WakeyError
impl Error for WakeyError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for WakeyError
impl !RefUnwindSafe for WakeyError
impl Send for WakeyError
impl Sync for WakeyError
impl Unpin for WakeyError
impl !UnwindSafe for WakeyError
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