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§

source§

impl AsyncAppend for BufferedFile

source§

impl AsyncAppend for DmaFile

source§

impl AsyncAppend for TokioUringFile

source§

impl<BM> AsyncAppend for AwsS3BackedFile<BM>
where BM: BlockMap,

source§

impl<K, const FLUSH_ON_APPEND: bool> AsyncAppend for TokioFile<K, FLUSH_ON_APPEND>

source§

impl<R> AsyncAppend for BufAppender<R, R::Position, R::Size>