pub enum FilesystemMode {
Read,
ReadWrite,
}Expand description
Filesystem access mode of a CapabilityGrant::Filesystem grant.
Variants§
Read
Read-only access under the granted prefixes.
ReadWrite
Read and write access under the granted prefixes.
Trait Implementations§
Source§impl Clone for FilesystemMode
impl Clone for FilesystemMode
impl Copy for FilesystemMode
Source§impl Debug for FilesystemMode
impl Debug for FilesystemMode
Source§impl<'de> Deserialize<'de> for FilesystemMode
impl<'de> Deserialize<'de> for FilesystemMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FilesystemMode
Source§impl Hash for FilesystemMode
impl Hash for FilesystemMode
Source§impl Ord for FilesystemMode
impl Ord for FilesystemMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FilesystemMode
impl PartialEq for FilesystemMode
Source§impl PartialOrd for FilesystemMode
impl PartialOrd for FilesystemMode
Source§impl Serialize for FilesystemMode
impl Serialize for FilesystemMode
impl StructuralPartialEq for FilesystemMode
Auto Trait Implementations§
impl Freeze for FilesystemMode
impl RefUnwindSafe for FilesystemMode
impl Send for FilesystemMode
impl Sync for FilesystemMode
impl Unpin for FilesystemMode
impl UnsafeUnpin for FilesystemMode
impl UnwindSafe for FilesystemMode
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