pub trait AsyncReset {
    fn reset(
        &mut self
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send, Global>>; }
Expand description

异步重置输入流接口

该接口相当于实现 seek(SeekFrom::Start(0))

Required Methods

异步重置输入流

相当于 seek(SeekFrom::Start(0))

Implementations on Foreign Types

Implementors