Trait rustful::handler::FromHandler
[−]
[src]
pub trait FromHandler<T> { fn from_handler(context: BuilderContext, handler: T) -> Self; }
Create a handler from another handler.
Required Methods
fn from_handler(context: BuilderContext, handler: T) -> Self
Create a handler from another handler and a BuilderContext
.
Implementations on Foreign Types
impl<T: FromHandler<H>, H> FromHandler<H> for Option<T>
[src]
impl<T: FromHandler<H>, H> FromHandler<H> for Option<T>
fn from_handler(context: BuilderContext, handler: H) -> Option<T>
[src]
fn from_handler(context: BuilderContext, handler: H) -> Option<T>
Implementors
impl<T: FromHandler<H>, H> FromHandler<H> for TreeRouter<T>
impl<T: FromHandler<H>, H> FromHandler<H> for Variables<T>
impl<T: CreateContent, H: Into<ContentFactory<T>>> FromHandler<H> for ContentFactory<T>
impl<T: Handler> FromHandler<T> for T