Enum aw_fel::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), LibUsb(Error), Io(Error), Response(&'static str, String), UnsupportedDevId(u32), SPLHeader(&'static str), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
LibUsb(Error)
Io(Error)
Response(&'static str, String)
USB response error.
UnsupportedDevId(u32)
Unsupported device ID.
SPLHeader(&'static str)
SPL header error.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.