Enum rocket_http::uri::error::PathError
source · pub enum PathError {
BadStart(char),
BadChar(char),
BadEnd(char),
}
Expand description
An error interpreting a segment as a PathBuf
component in
Segments::to_path_buf()
.
Variants§
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§
source§impl PartialEq<PathError> for PathError
impl PartialEq<PathError> for PathError
impl Eq for PathError
impl StructuralEq for PathError
impl StructuralPartialEq for PathError
Auto Trait Implementations§
impl RefUnwindSafe for PathError
impl Send for PathError
impl Sync for PathError
impl Unpin for PathError
impl UnwindSafe for PathError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.