Trait FileStream

Source
pub trait FileStream:
    AsyncRead
    + AsyncWrite
    + AsyncSeek
    + Unpin
    + Send
    + Sync {
    // Required method
    fn set_len(
        &self,
        len: u64,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + Sync + '_>>;
}

Required Methods§

Source

fn set_len( &self, len: u64, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + Sync + '_>>

Implementors§