pub trait BindProcessor {
type Processor<'a>: Processor
where Self: 'a;
type Error: Error + Send + Sync + 'static;
// Required method
fn bind(&mut self) -> Result<Self::Processor<'_>, Self::Error>;
}
Expand description
Trait used to bind a processor to the current thread.
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.