AsyncFileInfo

Trait AsyncFileInfo 

Source
pub trait AsyncFileInfo {
    // Required method
    async fn file_info(&self) -> Result<Metadata>;
}

Required Methods§

Source

async fn file_info(&self) -> Result<Metadata>

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.

Implementations on Foreign Types§

Source§

impl AsyncFileInfo for File

Available on Unix only.
Source§

async fn file_info(&self) -> Result<Metadata>

Implementors§