Trait SyslogQueueOneChanSnd

Source
pub trait SyslogQueueOneChanSnd<C: Send>: Debug + Send {
    // Required method
    fn send_once_blocking(self, data: C) -> Result<(), C>;
}
Expand description

A trait which should be implemented by the channel provider which forms a command queue. This trait provides a Oneshot channel a send interface for blocking mode.

Required Methods§

Source

fn send_once_blocking(self, data: C) -> Result<(), C>

Send to channel in blocing mode.

Implementations on Foreign Types§

Source§

impl<C: Send + Debug> SyslogQueueOneChanSnd<C> for Sender<C>

Source§

fn send_once_blocking(self, data: C) -> Result<(), C>

Implementors§