Trait file_futures::AsyncFile [] [src]

pub trait AsyncFile: Sized {
    fn poll_seek(&mut self, pos: SeekFrom) -> Poll<u64, Error>;
fn poll_sync_all(&mut self) -> Poll<(), Error>;
fn poll_sync_data(&mut self) -> Poll<(), Error>;
fn poll_set_len(&mut self, size: u64) -> Poll<(), Error>;
fn poll_metadata(&mut self) -> Poll<Metadata, Error>;
fn poll_try_clone(&mut self) -> Poll<File, Error>;
fn poll_set_permissions(&mut self, perm: Permissions) -> Poll<(), Error>; fn seek(self, pos: SeekFrom) -> Seek<Self> { ... }
fn sync_all(self) -> SyncAll<Self> { ... }
fn sync_data(self) -> SyncData<Self> { ... }
fn set_len(self, size: u64) -> SetLen<Self> { ... }
fn metadata(self) -> GetMetadata<Self> { ... }
fn try_clone(self) -> TryClone<Self> { ... }
fn set_permissions(self, perm: Permissions) -> SetPermissions<Self> { ... } }

The trait that provides the futures associated with tokio_fs::File's poll methods.

Required Methods

Provided Methods

Implementations on Foreign Types

impl AsyncFile for File
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Implementors