Trait sod::MutService
source · pub trait MutService<I> {
type Output;
type Error;
// Required method
fn process(&mut self, input: I) -> Result<Self::Output, Self::Error>;
}Expand description
A mut service trait
Accepts &mut self and an input, which produces a Result<Self::Output, Self::Error>