Enum rocket_http::uri::SegmentError [−][src]
Expand description
Errors which can occur when attempting to interpret a segment string as a valid path segment.
Variants
Utf8(Utf8Error)
The segment contained invalid UTF8 characters when percent decoded.
Tuple Fields of Utf8
0: Utf8Error
BadStart(char)
The segment started with the wrapped invalid character.
Tuple Fields of BadStart
0: char
BadChar(char)
The segment contained the wrapped invalid character.
Tuple Fields of BadChar
0: char
BadEnd(char)
The segment ended with the wrapped invalid character.
Tuple Fields of BadEnd
0: char
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SegmentError
impl Send for SegmentError
impl Sync for SegmentError
impl Unpin for SegmentError
impl UnwindSafe for SegmentError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.