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