Enum mimeograph_router::RouterResult [−][src]
pub enum RouterResult<T, U> { Handled(T), NotHandled(U), }
Expand description
Returned by router![]
to signify if the request was handled
Variants
Response of the request
Request type has been returned
Trait Implementations
impl<T, U> From<T> for RouterResult<T, U>
[src]
impl<T, U> From<T> for RouterResult<T, U>
[src]pub fn from(value: T) -> RouterResult<T, U>
[src]
pub fn from(value: T) -> RouterResult<T, U>
[src]Performs the conversion.
Auto Trait Implementations
impl<T, U> RefUnwindSafe for RouterResult<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for RouterResult<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for RouterResult<T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<T, U> Unpin for RouterResult<T, U> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for RouterResult<T, U> where
T: UnwindSafe,
U: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,