Trait tsukuyomi::modifier::Modifier[][src]

pub trait Modifier {
    fn before_handle(&self, input: &mut Input) -> BeforeHandle { ... }
fn after_handle(
        &self,
        input: &mut Input,
        result: Result<Output, Error>
    ) -> AfterHandle { ... } }

A trait representing a Modifier.

See the module level documentation for details.

Provided Methods

Performs the process before calling the handler.

By default, this method does nothing.

Modifies the returned value from a handler.

By default, this method does nothing and immediately return the provided Output.

Implementors