Skip to main content

ParameterizedOutput

Trait ParameterizedOutput 

Source
pub trait ParameterizedOutput<T> {
    type Error;

    // Required method
    fn output_with(&mut self, input: T) -> Result<Output, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn output_with(&mut self, input: T) -> Result<Output, Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, I> ParameterizedOutput<I> for T
where T: ParameterizedSpawn<I, Output = Child, Error = Error>,