Skip to main content

QuotaSnapshotAuthority

Trait QuotaSnapshotAuthority 

Source
pub trait QuotaSnapshotAuthority {
    // Required method
    fn admit_usage(
        &self,
        root: &Path,
        limits: QuotaLimits,
        snapshot: QuotaSnapshot,
    ) -> bool;
}

Required Methods§

Source

fn admit_usage( &self, root: &Path, limits: QuotaLimits, snapshot: QuotaSnapshot, ) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§