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
fn fmt(&self, fmt: &mut Formatter) -> Result
[−]
Formats the value using the given formatter. Read more
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.