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
Utf8(Utf8Error)
The segment contained invalid UTF8 characters when percent decoded.
BadStart(char)
The segment started with the wrapped invalid character.
BadChar(char)
The segment contained the wrapped invalid character.
BadEnd(char)
The segment ended with the wrapped invalid character.
Trait Implementations
impl Debug for SegmentError
[src]
impl PartialEq for SegmentError
[src]
fn eq(&self, __arg_0: &SegmentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SegmentError) -> bool
This method tests for !=
.
impl Eq for SegmentError
[src]
impl Clone for SegmentError
[src]
fn clone(&self) -> SegmentError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more