[][src]Enum rocket_contrib::uuid::ParseError

pub enum ParseError {
    InvalidCharacter {
        expected: &'static str,
        found: char,
        index: usize,
    },
    InvalidGroupCount {
        expected: Expected,
        found: usize,
    },
    InvalidGroupLength {
        expected: Expected,
        found: usize,
        group: usize,
    },
    InvalidLength {
        expected: Expected,
        found: usize,
    },
}

An error that can occur while parsing a Uuid string.

Variants

Invalid character in the Uuid string.

Fields of InvalidCharacter

The expected characters.

The invalid character found.

The invalid character position.

Invalid number of segments in the Uuid string.

Fields of InvalidGroupCount

The expected number of segments.

The number of segments found.

Invalid length of a segment in a Uuid string.

Fields of InvalidGroupLength

The expected length of the segment.

The length of segment found.

The segment with invalid length.

Invalid length of the Uuid string.

Fields of InvalidLength

The expected length(s).

The invalid length found.

Trait Implementations

impl Clone for ParseError
[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ParseError> for ParseError
[src]

impl Ord for ParseError
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Display for ParseError
[src]

impl Debug for ParseError
[src]

impl Eq for ParseError
[src]

impl Copy for ParseError
[src]

impl Error for ParseError
[src]

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

The lower-level source of this error, if any. Read more

impl Hash for ParseError
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<ParseError> for ParseError
[src]

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

Get the TypeId of this object.

impl<T> IntoCollection for T

impl<T, I> AsResult for T where
    I: Input, 

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> RuleType for T where
    T: Copy + Eq + Ord + Hash + Debug
[src]

impl<T> Erased for T

impl<T> IntoSql for T
[src]

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more

impl<T> Same for T

Should always be Self