Enum fvm_shared::state::StateTreeVersion
source · [−]#[repr(u64)]
pub enum StateTreeVersion {
V0,
V1,
V2,
V3,
V4,
}
Expand description
Specifies the version of the state tree
Variants
V0
Corresponds to actors < v2
V1
Corresponds to actors = v2
V2
Corresponds to actors = v3
V3
Corresponds to actors = v4
V4
Corresponds to actors >= v5
Trait Implementations
sourceimpl Clone for StateTreeVersion
impl Clone for StateTreeVersion
sourcefn clone(&self) -> StateTreeVersion
fn clone(&self) -> StateTreeVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StateTreeVersion
impl Debug for StateTreeVersion
sourceimpl<'de> Deserialize<'de> for StateTreeVersion
impl<'de> Deserialize<'de> for StateTreeVersion
sourcefn 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
sourceimpl PartialEq<StateTreeVersion> for StateTreeVersion
impl PartialEq<StateTreeVersion> for StateTreeVersion
sourceimpl PartialOrd<StateTreeVersion> for StateTreeVersion
impl PartialOrd<StateTreeVersion> for StateTreeVersion
sourcefn partial_cmp(&self, other: &StateTreeVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &StateTreeVersion) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for StateTreeVersion
impl Serialize for StateTreeVersion
impl Copy for StateTreeVersion
impl StructuralPartialEq for StateTreeVersion
Auto Trait Implementations
impl RefUnwindSafe for StateTreeVersion
impl Send for StateTreeVersion
impl Sync for StateTreeVersion
impl Unpin for StateTreeVersion
impl UnwindSafe for StateTreeVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more