Enum wakey::WakeyError
source · 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)>
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()