Enum sonos::ErrorKind
[−]
pub enum ErrorKind { Msg(String), AVTransportError(AVTransportError), ParseError, DeviceUnreachable, BadResponse, DeviceNotFound(String), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
AVTransportError(AVTransportError)
ParseError
DeviceUnreachable
BadResponse
DeviceNotFound(String)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for ErrorKind
impl Display for ErrorKind
impl<'a> From<&'a str> for ErrorKind
impl From<String> for ErrorKind
impl From<Error> for ErrorKind
impl From<AVTransportError> for ErrorKind
[src]
fn from(error: AVTransportError) -> Self
[src]
Performs the conversion.