#[repr(u8)]pub enum MarshInstruction {
Claim = 0,
Close = 1,
Mine = 2,
Open = 3,
Reset = 4,
Stake = 5,
Update = 6,
Upgrade = 7,
Evolve = 99,
Initialize = 100,
UpdateEvolver = 101,
}
Variants§
Claim = 0
Close = 1
Mine = 2
Open = 3
Reset = 4
Stake = 5
Update = 6
Upgrade = 7
Evolve = 99
Initialize = 100
UpdateEvolver = 101
Trait Implementations§
Source§impl Clone for MarshInstruction
impl Clone for MarshInstruction
Source§fn clone(&self) -> MarshInstruction
fn clone(&self) -> MarshInstruction
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 MarshInstruction
impl Debug for MarshInstruction
Source§impl PartialEq for MarshInstruction
impl PartialEq for MarshInstruction
Source§impl TryFrom<u8> for MarshInstruction
impl TryFrom<u8> for MarshInstruction
Source§type Error = TryFromPrimitiveError<MarshInstruction>
type Error = TryFromPrimitiveError<MarshInstruction>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for MarshInstruction
impl TryFromPrimitive for MarshInstruction
const NAME: &'static str = "MarshInstruction"
type Primitive = u8
type Error = TryFromPrimitiveError<MarshInstruction>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for MarshInstruction
impl Eq for MarshInstruction
impl StructuralPartialEq for MarshInstruction
Auto Trait Implementations§
impl Freeze for MarshInstruction
impl RefUnwindSafe for MarshInstruction
impl Send for MarshInstruction
impl Sync for MarshInstruction
impl Unpin for MarshInstruction
impl UnwindSafe for MarshInstruction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more