Trait rustful::handler::ApplyContext
[−]
[src]
pub trait ApplyContext { fn apply_context(&mut self, context: BuilderContext); fn prepend_context(&mut self, context: BuilderContext); }
Apply a BuilderContext
in various ways.
Required Methods
fn apply_context(&mut self, context: BuilderContext)
Set properties, based on a given context.
fn prepend_context(&mut self, context: BuilderContext)
Prepend existing properties, based on a given context.
Implementations on Foreign Types
impl<T: ApplyContext> ApplyContext for Option<T>
[src]
impl<T: ApplyContext> ApplyContext for Option<T>
fn apply_context(&mut self, context: BuilderContext)
[src]
fn apply_context(&mut self, context: BuilderContext)
fn prepend_context(&mut self, context: BuilderContext)
[src]
fn prepend_context(&mut self, context: BuilderContext)
Implementors
impl<T: ApplyContext> ApplyContext for TreeRouter<T>
impl<T: ApplyContext> ApplyContext for MethodRouter<T>
impl<A: ApplyContext, B: ApplyContext> ApplyContext for OrElse<A, B>
impl<T: ApplyContext> ApplyContext for StatusRouter<T>
impl<T: ApplyContext> ApplyContext for Variables<T>
impl<T: CreateContent> ApplyContext for ContentFactory<T>
impl<T: Handler> ApplyContext for T