#[repr(u8)]
pub enum ContractMode {
MigrateDataIn,
Running,
MigrateOutStarted,
MigratedOut,
}Variants§
Trait Implementations§
source§impl Debug for ContractMode
impl Debug for ContractMode
source§impl<'de> Deserialize<'de> for ContractMode
impl<'de> Deserialize<'de> for ContractMode
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
source§impl PartialEq<ContractMode> for ContractMode
impl PartialEq<ContractMode> for ContractMode
source§fn eq(&self, other: &ContractMode) -> bool
fn eq(&self, other: &ContractMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.