Enum indradb::ValidationErrorKind []

pub enum ValidationErrorKind {
    Msg(String),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl ValidationErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ValidationErrorKind

Formats the value using the given formatter.

impl Display for ValidationErrorKind

Formats the value using the given formatter. Read more

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

Performs the conversion.

impl From<String> for ValidationErrorKind

Performs the conversion.

impl From<ValidationError> for ValidationErrorKind

Performs the conversion.