fuchsia_fs::file

Trait AsyncGetSizeExt

Source
pub trait AsyncGetSizeExt: AsyncGetSize {
    // Provided method
    fn get_size<'a>(&'a mut self) -> GetSize<'a, Self>
       where Self: Unpin { ... }
}
Expand description

An extension trait which adds utility methods to AsyncGetSize.

Provided Methods§

Source

fn get_size<'a>(&'a mut self) -> GetSize<'a, Self>
where Self: Unpin,

Returns a future that will return the file size on success.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§