pub enum RootFilesystemMode {
ReadOnly,
WritableLayer,
}Expand description
Enumerates the finite root filesystem mode cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
ReadOnly
Use this variant when the contract needs to represent read only; selecting it has no side effect by itself.
WritableLayer
Use this variant when the contract needs to represent writable layer; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for RootFilesystemMode
impl Clone for RootFilesystemMode
Source§fn clone(&self) -> RootFilesystemMode
fn clone(&self) -> RootFilesystemMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RootFilesystemMode
impl Debug for RootFilesystemMode
Source§impl<'de> Deserialize<'de> for RootFilesystemMode
impl<'de> Deserialize<'de> for RootFilesystemMode
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 RootFilesystemMode
Source§impl PartialEq for RootFilesystemMode
impl PartialEq for RootFilesystemMode
Source§fn eq(&self, other: &RootFilesystemMode) -> bool
fn eq(&self, other: &RootFilesystemMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootFilesystemMode
impl Serialize for RootFilesystemMode
impl StructuralPartialEq for RootFilesystemMode
Auto Trait Implementations§
impl Freeze for RootFilesystemMode
impl RefUnwindSafe for RootFilesystemMode
impl Send for RootFilesystemMode
impl Sync for RootFilesystemMode
impl Unpin for RootFilesystemMode
impl UnsafeUnpin for RootFilesystemMode
impl UnwindSafe for RootFilesystemMode
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