pub enum StoreRuntimeStorageMode {
Stable,
Heap,
Journaled,
}Expand description
Diagnostic storage mode carried by a runtime storage capability descriptor.
Policy code should branch on capability axes instead of this display value.
Variants§
Stable
Durable stable-memory storage.
Heap
Volatile in-process heap storage.
Journaled
Journaled cached-stable durable storage.
Implementations§
Trait Implementations§
Source§impl Clone for StoreRuntimeStorageMode
impl Clone for StoreRuntimeStorageMode
Source§fn clone(&self) -> StoreRuntimeStorageMode
fn clone(&self) -> StoreRuntimeStorageMode
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 moreimpl Copy for StoreRuntimeStorageMode
Source§impl Debug for StoreRuntimeStorageMode
impl Debug for StoreRuntimeStorageMode
Source§impl Default for StoreRuntimeStorageMode
impl Default for StoreRuntimeStorageMode
Source§fn default() -> StoreRuntimeStorageMode
fn default() -> StoreRuntimeStorageMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoreRuntimeStorageMode
impl<'de> Deserialize<'de> for StoreRuntimeStorageMode
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 StoreRuntimeStorageMode
Source§impl PartialEq for StoreRuntimeStorageMode
impl PartialEq for StoreRuntimeStorageMode
Source§fn eq(&self, other: &StoreRuntimeStorageMode) -> bool
fn eq(&self, other: &StoreRuntimeStorageMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoreRuntimeStorageMode
Auto Trait Implementations§
impl Freeze for StoreRuntimeStorageMode
impl RefUnwindSafe for StoreRuntimeStorageMode
impl Send for StoreRuntimeStorageMode
impl Sync for StoreRuntimeStorageMode
impl Unpin for StoreRuntimeStorageMode
impl UnsafeUnpin for StoreRuntimeStorageMode
impl UnwindSafe for StoreRuntimeStorageMode
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