pub enum FsPolicy {
Confined,
HostReadConfinedWrite,
Unrestricted,
}Expand description
Filesystem access policy a sandbox can advertise to the framework.
Variants§
Confined
Sandbox can read/write only inside its own root.
HostReadConfinedWrite
Sandbox can read anywhere but only write inside its root.
Unrestricted
No restriction (debugging only).
Trait Implementations§
impl Copy for FsPolicy
impl Eq for FsPolicy
impl StructuralPartialEq for FsPolicy
Auto Trait Implementations§
impl Forget for FsPolicy
impl Freeze for FsPolicy
impl RefUnwindSafe for FsPolicy
impl Send for FsPolicy
impl Sync for FsPolicy
impl Unpin for FsPolicy
impl UnsafeUnpin for FsPolicy
impl UnwindSafe for FsPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.