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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".