Trait rustful::filter::ContextFilter [] [src]

pub trait ContextFilter: Send + Sync {
    fn modify(
        &self,
        context: FilterContext,
        request_context: &mut Context
    ) -> ContextAction; }

A trait for context filters.

They are able to modify and react to a Context before it's sent to the handler.

Required Methods

Try to modify the handler Context.

Implementors