Trait laminarmq_io::io_types::AsyncAppend

source ·
pub trait AsyncAppend: SizedEntity + FallibleEntity {
    // Required method
    fn append(
        &mut self,
        bytes: Bytes,
    ) -> impl Future<Output = Result<AppendInfo<Self::Position, Self::Size>, UnwrittenError<Self::Error>>>;
}

Required Methods§

source

fn append( &mut self, bytes: Bytes, ) -> impl Future<Output = Result<AppendInfo<Self::Position, Self::Size>, UnwrittenError<Self::Error>>>

Object Safety§

This trait is not object safe.

Implementors§