Enum must::errors::ErrorKind [] [src]

pub enum ErrorKind {
    MustEq {
        to: String,
    },
    MustNotEq {
        to: String,
    },
    MustBeOk,
    MustBeErr,
    MustBeSome,
    MustBeNone,
    MustHaveLength {
        len: usize,
    },
    MustBeEmpty,
    MustBeInRange {
        range: String,
    },
    MustNotBeInRange {
        range: String,
    },
    MustBeLowercase,
    MustBeUppercase,
    MustBeAscii,
    MustBeEqAsciiIgnoreCase {
        to: String,
    },
    MustBeLessThan {
        other: String,
    },
    MustBeLessThanOrEqual {
        other: String,
    },
    MustBeGreaterThan {
        other: String,
    },
    MustBeGreaterThanOrEqual {
        other: String,
    },
    MustBeNan,
    MustNotBeNan,
    Msg(String),
    Error(Box<Error>),
}

Common prefix: (so do not incude it in separate message)

{} must

Variants

Fields of MustEq

Fields of MustNotEq

Fields of MustHaveLength

Fields of MustBeInRange

Fields of MustNotBeInRange

Fields of MustBeEqAsciiIgnoreCase

Fields of MustBeLessThan

Fields of MustBeLessThanOrEqual

Fields of MustBeGreaterThan

Fields of MustBeGreaterThanOrEqual

Methods

impl ErrorKind
[src]

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.

impl Display for ErrorKind
[src]

Formats the value using the given formatter. Read more