Enum trout::RoutingFailure
source · [−]pub enum RoutingFailure {
NotFound,
MethodNotAllowed,
}
Expand description
Ways that routing can fail
Variants
NotFound
No node was found for the request path
MethodNotAllowed
No handler was found for the request method
Trait Implementations
Convert a RoutingFailure
to a simple http Response
Auto Trait Implementations
impl RefUnwindSafe for RoutingFailure
impl Send for RoutingFailure
impl Sync for RoutingFailure
impl Unpin for RoutingFailure
impl UnwindSafe for RoutingFailure
Blanket Implementations
Mutably borrows from an owned value. Read more