pub enum OperationalState {
Online,
Offline,
}
Variants§
Online
Memory chunk can be used.
Offline
Memory chunk cannot be used. Consumers of this memory chunk should perform cleanup operations as needed to prepare for the removal of this memory chunk.
Trait Implementations§
source§impl Clone for OperationalState
impl Clone for OperationalState
source§fn clone(&self) -> OperationalState
fn clone(&self) -> OperationalState
Returns a copy of the value. Read more
1.0.0 · 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 OperationalState
impl Debug for OperationalState
source§impl Default for OperationalState
impl Default for OperationalState
source§fn default() -> OperationalState
fn default() -> OperationalState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OperationalState
impl<'de> Deserialize<'de> for OperationalState
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