[][src]Trait async_read_progress::TokioAsyncReadProgressExt

pub trait TokioAsyncReadProgressExt {
    fn report_progress<F>(
        self,
        at_most_ever: Duration,
        callback: F
    ) -> LogStreamProgress<Self, F>
    where
        Self: Sized,
        F: FnMut(usize)
, { ... } }

An extension trait which adds the report_progress method to AsyncRead types.

Note: This is for tokio::io::AsyncRead.

Provided methods

fn report_progress<F>(
    self,
    at_most_ever: Duration,
    callback: F
) -> LogStreamProgress<Self, F> where
    Self: Sized,
    F: FnMut(usize), 

Loading content...

Implementors

impl<R: TAsyncRead + ?Sized> TReportReadProgress for R[src]

Loading content...