Trait adapter::Adapter

source ·
pub trait Adapter<'a, Input, Output> {
    type Error;
    type Identifier;

    // Required method
    fn call(
        &'a mut self,
        identifier: Self::Identifier,
        input: Input,
    ) -> Result<Output, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn call( &'a mut self, identifier: Self::Identifier, input: Input, ) -> Result<Output, Self::Error>

Implementors§