Enum nakadion::TokenErrorKind []

pub enum TokenErrorKind {
    Msg(String),
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl TokenErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for TokenErrorKind

Formats the value using the given formatter.

impl Display for TokenErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for TokenErrorKind

Performs the conversion.

impl From<String> for TokenErrorKind

Performs the conversion.

impl From<TokenError> for TokenErrorKind

Performs the conversion.