Enum rocket::http::uri::SegmentError [] [src]

pub enum SegmentError {
    Utf8(Utf8Error),
    BadStart(char),
    BadChar(char),
    BadEnd(char),
}

Errors which can occur when attempting to interpret a segment string as a valid path segment.

Variants

The segment contained invalid UTF8 characters when percent decoded.

The segment started with the wrapped invalid character.

The segment contained the wrapped invalid character.

The segment ended with the wrapped invalid character.

Trait Implementations

impl Debug for SegmentError
[src]

Formats the value using the given formatter.

impl PartialEq for SegmentError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SegmentError
[src]

impl Clone for SegmentError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more