pub trait Queue {
    // Required methods
    fn push(&self, bytes: Bytes);
    fn extend(&self, header: Bytes, body: &[&[Bytes]]);
}

Required Methods§

source

fn push(&self, bytes: Bytes)

Push one bytes.

source

fn extend(&self, header: Bytes, body: &[&[Bytes]])

Push multiple bytes atomically

Implementors§