pub trait AsyncReset {
    fn reset(
        &mut self
    ) -> Pin<Box<dyn Future<Output = IoResult<()>> + Send + '_>>; }
Available on crate feature async only.
Expand description

异步重置输入流接口

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

Required Methods

异步重置输入流

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

Implementors