pub enum FileSystemLimit {
Unknown,
NotApplicable,
Unbounded,
Maximum(u64),
}Expand description
A provider-declared limit for one filesystem property.
§Examples
use qubit_fs::metadata::FileSystemLimit;
assert!(matches!(FileSystemLimit::Unknown, FileSystemLimit::Unknown));Variants§
Unknown
The provider cannot report a stable limit at construction time.
NotApplicable
The limit dimension does not apply to this provider.
Unbounded
The provider imposes no finite limit at the rs-fs API layer.
Maximum(u64)
The inclusive maximum accepted value.
Implementations§
Trait Implementations§
Source§impl Clone for FileSystemLimit
impl Clone for FileSystemLimit
impl Copy for FileSystemLimit
Source§impl Debug for FileSystemLimit
impl Debug for FileSystemLimit
impl Eq for FileSystemLimit
Source§impl Hash for FileSystemLimit
impl Hash for FileSystemLimit
Source§impl PartialEq for FileSystemLimit
impl PartialEq for FileSystemLimit
impl StructuralPartialEq for FileSystemLimit
Auto Trait Implementations§
impl Freeze for FileSystemLimit
impl RefUnwindSafe for FileSystemLimit
impl Send for FileSystemLimit
impl Sync for FileSystemLimit
impl Unpin for FileSystemLimit
impl UnsafeUnpin for FileSystemLimit
impl UnwindSafe for FileSystemLimit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more