Enum seamless::api::RouteError [−][src]
A route is either not found, or we attempted to run it and ran into an issue.
Variants
No route matched the provided request, so we hand it back.
The matching route failed; this is the error.
Implementations
impl<E> RouteError<E>
[src]
pub fn unwrap_err(self) -> E
[src]
Assume that the RouteError
contains an error and attempt to
unwrap this
Panics
Panics if the RouteError does not contain an error
Trait Implementations
Auto Trait Implementations
impl<E> !RefUnwindSafe for RouteError<E>
[src]
impl<E> Send for RouteError<E> where
E: Send,
[src]
E: Send,
impl<E> Sync for RouteError<E> where
E: Sync,
[src]
E: Sync,
impl<E> Unpin for RouteError<E> where
E: Unpin,
[src]
E: Unpin,
impl<E> !UnwindSafe for RouteError<E>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,