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§
Sourcefn send_once_blocking(self, data: C) -> Result<(), C>
fn send_once_blocking(self, data: C) -> Result<(), C>
Send to channel in blocing mode.