Trait AsConsumerSync

Source
pub trait AsConsumerSync {
    // Required method
    fn write(&mut self, data: &[u8]) -> Result<()>;
}
Expand description

Trait representing a data consumer taking data synchronously

Required Methods§

Source

fn write(&mut self, data: &[u8]) -> Result<()>

Write data synchronously to this consumer

Implementors§