pub enum StateChangeCauseView {
NotWritableToDisk,
InitialState,
TransactionProcessing {
tx_hash: CryptoHash,
},
ActionReceiptProcessingStarted {
receipt_hash: CryptoHash,
},
ActionReceiptGasReward {
receipt_hash: CryptoHash,
},
ReceiptProcessing {
receipt_hash: CryptoHash,
},
PostponedReceipt {
receipt_hash: CryptoHash,
},
UpdatedDelayedReceipts,
ValidatorAccountsUpdate,
Migration,
BandwidthSchedulerStateUpdate,
}Expand description
Cause of a state change.
Variants§
NotWritableToDisk
State not writable to disk.
InitialState
Initial state.
TransactionProcessing
Transaction processing.
Fields
§
tx_hash: CryptoHashTransaction hash.
ActionReceiptProcessingStarted
Action receipt processing started.
Fields
§
receipt_hash: CryptoHashReceipt hash.
ActionReceiptGasReward
Action receipt gas reward.
Fields
§
receipt_hash: CryptoHashReceipt hash.
ReceiptProcessing
Receipt processing.
Fields
§
receipt_hash: CryptoHashReceipt hash.
PostponedReceipt
Postponed receipt.
Fields
§
receipt_hash: CryptoHashReceipt hash.
UpdatedDelayedReceipts
Updated delayed receipts.
ValidatorAccountsUpdate
Validator accounts update.
Migration
State migration.
BandwidthSchedulerStateUpdate
Bandwidth scheduler state update.
Trait Implementations§
Source§impl Clone for StateChangeCauseView
impl Clone for StateChangeCauseView
Source§fn clone(&self) -> StateChangeCauseView
fn clone(&self) -> StateChangeCauseView
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 Debug for StateChangeCauseView
impl Debug for StateChangeCauseView
Source§impl<'de> Deserialize<'de> for StateChangeCauseView
impl<'de> Deserialize<'de> for StateChangeCauseView
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
Auto Trait Implementations§
impl Freeze for StateChangeCauseView
impl RefUnwindSafe for StateChangeCauseView
impl Send for StateChangeCauseView
impl Sync for StateChangeCauseView
impl Unpin for StateChangeCauseView
impl UnsafeUnpin for StateChangeCauseView
impl UnwindSafe for StateChangeCauseView
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