pub trait SyslogQueueChanRcv<F: SyslogFormatter, D: SyslogDestination, S: SyslogQueueChannel<F, D>>: Debug + Send {
// Required method
fn q_recv_blocking(&mut self) -> Option<SyCmd<F, D, S>>;
}
Expand description
A trait which should be implemented by the channel provider which forms a command queue. This trait provides a blocking receive interface on the receiver side.
Required Methods§
Sourcefn q_recv_blocking(&mut self) -> Option<SyCmd<F, D, S>>
fn q_recv_blocking(&mut self) -> Option<SyCmd<F, D, S>>
Receive from channel in blocking mode.