Enum rocket::error::RouteUriError [−][src]
pub enum RouteUriError { Segment, Uri(Error<'static>), DynamicBase, }
Expand description
Error returned by set_uri()
on invalid URIs.
Variants
The base (mount point) or route path contains invalid segments.
Uri(Error<'static>)
The route URI is not a valid URI.
The base (mount point) contains dynamic segments.
Trait Implementations
impl Debug for RouteUriError
[src]
impl Debug for RouteUriError
[src]impl Display for RouteUriError
[src]
impl Display for RouteUriError
[src]Auto Trait Implementations
impl RefUnwindSafe for RouteUriError
impl Send for RouteUriError
impl Sync for RouteUriError
impl Unpin for RouteUriError
impl UnwindSafe for RouteUriError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,