pub type PayloadReceiver = MsgReceiver<Payload>;

Aliased Type§

struct PayloadReceiver {
    rx: Receiver<Payload>,
}

Fields§

§rx: Receiver<Payload>

Implementations§

source§

impl<T> MsgReceiver<T>

source

pub fn recv(&self) -> Result<T, Error>

source

pub fn to_crossbeam_receiver(self) -> Receiver<T>