Trait laminarmq_io::io_types::AsyncFlush

source ·
pub trait AsyncFlush: FallibleEntity {
    // Required method
    fn flush(&mut self) -> impl Future<Output = Result<(), Self::Error>>;
}

Required Methods§

source

fn flush(&mut self) -> impl Future<Output = Result<(), Self::Error>>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl AsyncFlush for BufferedFile

source§

impl AsyncFlush for TokioUringFile

source§

impl<K, const FA: bool> AsyncFlush for TokioFile<K, FA>

source§

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

source§

impl<R, P, S> AsyncFlush for BufReader<R, P, S>
where R: AsyncFlush,