pub trait Source {
type Error;
// Required method
fn pipe_data<IN, R>(
&mut self,
request: &mut Request<IN, R>,
) -> Result<(), Self::Error>
where IN: ArrayLength<u8>,
R: ResponseHandler;
}
Expand description
A source of data for the HTTP response
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.