pub trait Receiver: ErrorType {
type Data<'a>
where Self: 'a;
// Required method
fn recv(&mut self) -> Result<Self::Data<'_>, Self::Error>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".