pub enum FileSystemCapabilitySupport {
Unsupported,
Conditional,
Guaranteed,
}Expand description
Describes how a filesystem provider can satisfy a capability.
§Examples
use qubit_fs::metadata::FileSystemCapabilitySupport;
assert!(matches!(FileSystemCapabilitySupport::Unsupported, FileSystemCapabilitySupport::Unsupported));Variants§
Unsupported
The provider does not implement the capability.
Conditional
The provider can attempt the capability, but support depends on the request, authority, mount, or runtime state.
Guaranteed
The provider supports the capability for every valid request in its advertised filesystem scope.
Trait Implementations§
Source§impl Clone for FileSystemCapabilitySupport
impl Clone for FileSystemCapabilitySupport
impl Copy for FileSystemCapabilitySupport
Source§impl Debug for FileSystemCapabilitySupport
impl Debug for FileSystemCapabilitySupport
impl Eq for FileSystemCapabilitySupport
impl StructuralPartialEq for FileSystemCapabilitySupport
Auto Trait Implementations§
impl Freeze for FileSystemCapabilitySupport
impl RefUnwindSafe for FileSystemCapabilitySupport
impl Send for FileSystemCapabilitySupport
impl Sync for FileSystemCapabilitySupport
impl Unpin for FileSystemCapabilitySupport
impl UnsafeUnpin for FileSystemCapabilitySupport
impl UnwindSafe for FileSystemCapabilitySupport
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