pub trait Capture {
type Error;
// Required method
fn read(&mut self, out: &mut Block) -> Result<bool, Self::Error>;
}Expand description
Capture one block from an input route.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".