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 SegmentErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for SegmentError[src]
impl PartialEq for SegmentErrorfn eq(&self, other: &SegmentError) -> bool[src]
fn eq(&self, other: &SegmentError) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for SegmentError[src]
impl Eq for SegmentErrorimpl Clone for SegmentError[src]
impl Clone for SegmentErrorfn clone(&self) -> SegmentError[src]
fn clone(&self) -> SegmentErrorReturns 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 SegmentErrorimpl Sync for SegmentError
impl Sync for SegmentError