pub trait BlockingReceiver {
type Item;
type Error;
// Required method
fn recv(&mut self) -> Result<Self::Item, Self::Error>;
}Expand description
Trait for blocking receivers.
pub trait BlockingReceiver {
type Item;
type Error;
// Required method
fn recv(&mut self) -> Result<Self::Item, Self::Error>;
}Trait for blocking receivers.