pub trait ExcerptAppenderHelper {
    fn scoped_bytes_writer(&mut self, length: u64) -> ScopedMut<'_, BytesWriter>;
}
Expand description

The ExcerptAppenderHelper trait is used to directly extend cxx::UnqiuePtr<queue::ExcerptAppender> in order to support the scoped_bytes_writer call which returns a scoped mutable handle over a &mut [u8] slice directly into a reserved section of the queue.

See BytesWriter and the example for more details.

Required Methods§

Implementations on Foreign Types§

Implementors§