pub enum Locality {
Local,
Remote,
Unprovable,
}Expand description
What the host can prove about where a directory lives.
Variants§
Local
Proven to be served by this machine from a local device.
Remote
Proven to be a network filesystem.
Unprovable
The platform answered, but not with something that proves either.
Treated as a refusal. 02-target-architecture.md: “A platform that
cannot prove the configured location is local fails closed.”
Trait Implementations§
impl Copy for Locality
impl Eq for Locality
impl StructuralPartialEq for Locality
Auto Trait Implementations§
impl Freeze for Locality
impl RefUnwindSafe for Locality
impl Send for Locality
impl Sync for Locality
impl Unpin for Locality
impl UnsafeUnpin for Locality
impl UnwindSafe for Locality
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