pub trait Transformer<Output> {
    type Input: DeserializeOwned;
    type OutputIter: IntoIterator<Item = Result<Output, SocketError>>;

    fn transform(&mut self, input: Self::Input) -> Self::OutputIter;
}
Expand description

Transformers are capable of transforming any Input into an iterator of Result<Output, SocketError>s.

Required Associated Types

Required Methods

Implementors