pub enum SimnetCommand {
SlotForward(Option<Hash>),
SlotBackward(Option<Hash>),
UpdateClock(ClockCommand),
UpdateBlockProductionMode(BlockProductionMode),
TransactionReceived(Option<Hash>, VersionedTransaction, Sender<TransactionStatusEvent>, bool),
Terminate(Option<Hash>),
}Variants§
SlotForward(Option<Hash>)
SlotBackward(Option<Hash>)
UpdateClock(ClockCommand)
UpdateBlockProductionMode(BlockProductionMode)
TransactionReceived(Option<Hash>, VersionedTransaction, Sender<TransactionStatusEvent>, bool)
Terminate(Option<Hash>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimnetCommand
impl RefUnwindSafe for SimnetCommand
impl Send for SimnetCommand
impl Sync for SimnetCommand
impl Unpin for SimnetCommand
impl UnwindSafe for SimnetCommand
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