Enum sda_server::errors::SdaServerErrorKind
[−]
pub enum SdaServerErrorKind { Msg(String), Io(Error), Sda(SdaError), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
Sda(SdaError)
Methods
impl SdaServerErrorKind
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for SdaServerErrorKind
impl Display for SdaServerErrorKind
impl<'a> From<&'a str> for SdaServerErrorKind
impl From<String> for SdaServerErrorKind
impl From<SdaServerError> for SdaServerErrorKind
fn from(e: SdaServerError) -> Self
Performs the conversion.