Enum rocket::http::uri::SegmentError [−][src]
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 Debug for SegmentError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SegmentError
[src]
impl PartialEq for SegmentError
fn eq(&self, other: &SegmentError) -> bool
[src]
fn eq(&self, other: &SegmentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SegmentError) -> bool
[src]
fn ne(&self, other: &SegmentError) -> bool
This method tests for !=
.
impl Eq for SegmentError
[src]
impl Eq for SegmentError
impl Clone for SegmentError
[src]
impl Clone for SegmentError
fn clone(&self) -> SegmentError
[src]
fn clone(&self) -> SegmentError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for SegmentError
impl Send for SegmentError
impl Sync for SegmentError
impl Sync for SegmentError