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