pub enum SystemOperation {
StartBlock(DoStartBlock),
}Variants§
StartBlock(DoStartBlock)
Implementations§
Source§impl SystemOperation
impl SystemOperation
pub fn start_block(height: BlockHeight) -> Self
Trait Implementations§
Source§impl Clone for SystemOperation
impl Clone for SystemOperation
Source§fn clone(&self) -> SystemOperation
fn clone(&self) -> SystemOperation
Returns a duplicate 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 Command for SystemOperation
impl Command for SystemOperation
Source§impl Debug for SystemOperation
impl Debug for SystemOperation
Source§impl<'de> Deserialize<'de> for SystemOperation
impl<'de> Deserialize<'de> for SystemOperation
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 From<SystemOperation> for Operation
impl From<SystemOperation> for Operation
Source§fn from(op: SystemOperation) -> Self
fn from(op: SystemOperation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SystemOperation
impl PartialEq for SystemOperation
Source§impl Serialize for SystemOperation
impl Serialize for SystemOperation
impl Eq for SystemOperation
impl StructuralPartialEq for SystemOperation
Auto Trait Implementations§
impl Freeze for SystemOperation
impl RefUnwindSafe for SystemOperation
impl Send for SystemOperation
impl Sync for SystemOperation
impl Unpin for SystemOperation
impl UnwindSafe for SystemOperation
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.