Trait xylem::Processable[][src]

pub trait Processable<S: Schema + ?Sized>: Xylem<S> {
    fn preprocess(
        _from: &mut <Self as Xylem<S>>::From,
        _context: &mut <S as Schema>::Context
    ) -> Result<(), <S as Schema>::Error> { ... }
fn postprocess(
        &mut self,
        _context: &mut <S as Schema>::Context
    ) -> Result<(), <S as Schema>::Error> { ... } }
Expand description

Preprocessor and postprocessor extensions for Xylem.

Provided methods

This method is called at the beginning of Xylem::convert_impl if #[xylem(process)] is provided.

This method is called just before Xylem::convert_impl returns if #[xylem(process)] is provided.

Implementors