pub trait FsInspectVolume {
// Required method
fn get_volume_data<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<VolumeData>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait that Rust filesystems which are multi-volume should implement for each volume.
Required Methods§
Sourcefn get_volume_data<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<VolumeData>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_volume_data<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<VolumeData>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the populated VolumeData struct, or None if the volume is unable to return the data.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".