Trait fuchsia_fs::file::AsyncGetSize

source ·
pub trait AsyncGetSize {
    // Required method
    fn poll_get_size(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
    ) -> Poll<Result<u64>>;
}
Expand description

Trait for getting the size of the file asynchronously.

Required Methods§

source

fn poll_get_size( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<u64>>

Attempt to get the size of the file, on success returns the file size.

Implementors§