Skip to main content

ParameterizedOutput

Trait ParameterizedOutput 

Source
pub trait ParameterizedOutput {
    type Input<'a>;
    type Error;

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

Required Associated Types§

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

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