#[non_exhaustive]pub enum PermissionFilesystemAxis {
Sandboxed,
Unrestricted,
Unknown(String),
}Expand description
A profile’s effective filesystem axis. Open: the vocabulary can widen.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sandboxed
Sandboxed execution (FilesystemModeV1::Managed).
Unrestricted
No filesystem sandbox (FilesystemModeV1::Unrestricted).
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Excluded from the generated schema while the enum stays declared open; never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for PermissionFilesystemAxis
impl Clone for PermissionFilesystemAxis
Source§impl Debug for PermissionFilesystemAxis
impl Debug for PermissionFilesystemAxis
Source§impl<'de> Deserialize<'de> for PermissionFilesystemAxis
impl<'de> Deserialize<'de> for PermissionFilesystemAxis
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 PermissionFilesystemAxis
Source§impl PartialEq for PermissionFilesystemAxis
impl PartialEq for PermissionFilesystemAxis
Source§impl Serialize for PermissionFilesystemAxis
impl Serialize for PermissionFilesystemAxis
impl StructuralPartialEq for PermissionFilesystemAxis
Auto Trait Implementations§
impl Forget for PermissionFilesystemAxis
impl Freeze for PermissionFilesystemAxis
impl Move for PermissionFilesystemAxis
impl RefUnwindSafe for PermissionFilesystemAxis
impl Send for PermissionFilesystemAxis
impl Sync for PermissionFilesystemAxis
impl Unpin for PermissionFilesystemAxis
impl UnsafeUnpin for PermissionFilesystemAxis
impl UnwindSafe for PermissionFilesystemAxis
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