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
Performs the conversion.
Auto Trait Implementations
impl<T, U> RefUnwindSafe for RouterResult<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for RouterResult<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for RouterResult<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for RouterResult<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for RouterResult<T, U> where
T: UnwindSafe,
U: UnwindSafe,