Enum nakadion::ClientErrorKind []

pub enum ClientErrorKind {
    Msg(String),
    Token(TokenErrorKind),
    Connection(String),
    Request(String),
    NoSubscription(String),
    Forbidden(String),
    Conflict(String),
    InvalidResponse(String),
    CursorUnprocessable(String),
    UnparsableBatch(String),
    Internal(String),
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl ClientErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ClientErrorKind

Formats the value using the given formatter.

impl Display for ClientErrorKind

Formats the value using the given formatter. Read more

impl From<TokenErrorKind> for ClientErrorKind

Performs the conversion.

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

Performs the conversion.

impl From<String> for ClientErrorKind

Performs the conversion.

impl From<ClientError> for ClientErrorKind

Performs the conversion.