Enum pallet_plasma::RawEvent [−][src]
pub enum RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> {}Show variants
Deploy(AccountId, AccountId), BlockSubmitted(AccountId, BlockNumber, Hash), CheckpointFinalized(AccountId, Hash, Checkpoint), ExitFinalized(AccountId, Hash), CheckpointClaimed(AccountId, StateUpdate, InclusionProof), CheckpointChallenged(StateUpdate, StateUpdate, InclusionProof), ChallengeRemoved(StateUpdate, StateUpdate), CheckpointSettled(StateUpdate), ExitClaimed(StateUpdate), ExitSpentChallenged(StateUpdate), ExitCheckpointChallenged(StateUpdate, StateUpdate), ExitChallengeRemoved(StateUpdate, StateUpdate), ExitSettled(StateUpdate, bool), DepositedRangeExtended(AccountId, Range), DepositedRangeRemoved(AccountId, Range),
Expand description
Events for this module.
Variants
Deplpoyed Plapps. (creator: AccountId, plapps_id: AccountId)
Event definitions (AccountID: PlappsAddress, BlockNumber, Hash: root)
(AccountID: PlappsAddress, checkpointId: Hash, checkpoint: Checkpoint);
(AccountID: PlappsAddress, exit_id: Hash)
Event definitions (plapps_id: AccountId, state_update: StateUpdate, inclusion_proof: InclusionProof)
Event definitions (state_update: StateUpdate, challenging_state_update: StateUpdate, inclusion_proof: InclusionProof)
Event definitions (state_update: StateUpdate, challenging_state_update: StateUpdate)
Event definitions (state_update: StateUpdate)
Event definitions (state_update: stateUpdate)
Event definitions (state_update: stateUpdate)
Event definitions (state_update: stateUpdate, challenging_state_update: StateUpdate)
Event definitions (state_update: stateUpdate, challenging_state_update: StateUpdate)
ExitSettled(StateUpdate, bool)
Event definitions (state_update: stateUpdate, decision: bool)
(AccountID: PlappsAddress, new_range: Range)
(AccountID: PlappsAddress, removed_range: Range)
Trait Implementations
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Debug for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Debug,
Hash: Debug,
BlockNumber: Debug,
Range: Debug,
Checkpoint: Debug,
StateUpdate: Debug,
InclusionProof: Debug,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Debug for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Debug,
Hash: Debug,
BlockNumber: Debug,
Range: Debug,
Checkpoint: Debug,
StateUpdate: Debug,
InclusionProof: Debug,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Decode for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
BlockNumber: Decode,
BlockNumber: Decode,
Hash: Decode,
Hash: Decode,
AccountId: Decode,
AccountId: Decode,
Hash: Decode,
Hash: Decode,
Checkpoint: Decode,
Checkpoint: Decode,
AccountId: Decode,
AccountId: Decode,
Hash: Decode,
Hash: Decode,
AccountId: Decode,
AccountId: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
InclusionProof: Decode,
InclusionProof: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
InclusionProof: Decode,
InclusionProof: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
AccountId: Decode,
AccountId: Decode,
Range: Decode,
Range: Decode,
AccountId: Decode,
AccountId: Decode,
Range: Decode,
Range: Decode,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Decode for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
AccountId: Decode,
BlockNumber: Decode,
BlockNumber: Decode,
Hash: Decode,
Hash: Decode,
AccountId: Decode,
AccountId: Decode,
Hash: Decode,
Hash: Decode,
Checkpoint: Decode,
Checkpoint: Decode,
AccountId: Decode,
AccountId: Decode,
Hash: Decode,
Hash: Decode,
AccountId: Decode,
AccountId: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
InclusionProof: Decode,
InclusionProof: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
InclusionProof: Decode,
InclusionProof: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
StateUpdate: Decode,
AccountId: Decode,
AccountId: Decode,
Range: Decode,
Range: Decode,
AccountId: Decode,
AccountId: Decode,
Range: Decode,
Range: Decode,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Encode for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
Checkpoint: Encode,
Checkpoint: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
InclusionProof: Encode,
InclusionProof: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
InclusionProof: Encode,
InclusionProof: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
AccountId: Encode,
AccountId: Encode,
Range: Encode,
Range: Encode,
AccountId: Encode,
AccountId: Encode,
Range: Encode,
Range: Encode,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Encode for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
Checkpoint: Encode,
Checkpoint: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
InclusionProof: Encode,
InclusionProof: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
InclusionProof: Encode,
InclusionProof: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
AccountId: Encode,
AccountId: Encode,
Range: Encode,
Range: Encode,
AccountId: Encode,
AccountId: Encode,
Range: Encode,
Range: Encode,
impl<AccountId: PartialEq, Hash: PartialEq, BlockNumber: PartialEq, Range: PartialEq, Checkpoint: PartialEq, StateUpdate: PartialEq, InclusionProof: PartialEq> PartialEq<RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>> for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>
impl<AccountId: PartialEq, Hash: PartialEq, BlockNumber: PartialEq, Range: PartialEq, Checkpoint: PartialEq, StateUpdate: PartialEq, InclusionProof: PartialEq> PartialEq<RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>> for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> EncodeLike<RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>> for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
AccountId: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
Checkpoint: Encode,
Checkpoint: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
InclusionProof: Encode,
InclusionProof: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
InclusionProof: Encode,
InclusionProof: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
StateUpdate: Encode,
AccountId: Encode,
AccountId: Encode,
Range: Encode,
Range: Encode,
AccountId: Encode,
AccountId: Encode,
Range: Encode,
Range: Encode,
impl<AccountId: Eq, Hash: Eq, BlockNumber: Eq, Range: Eq, Checkpoint: Eq, StateUpdate: Eq, InclusionProof: Eq> Eq for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> StructuralEq for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> StructuralPartialEq for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof>
Auto Trait Implementations
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> RefUnwindSafe for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: RefUnwindSafe,
BlockNumber: RefUnwindSafe,
Checkpoint: RefUnwindSafe,
Hash: RefUnwindSafe,
InclusionProof: RefUnwindSafe,
Range: RefUnwindSafe,
StateUpdate: RefUnwindSafe,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Send for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Send,
BlockNumber: Send,
Checkpoint: Send,
Hash: Send,
InclusionProof: Send,
Range: Send,
StateUpdate: Send,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Sync for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Sync,
BlockNumber: Sync,
Checkpoint: Sync,
Hash: Sync,
InclusionProof: Sync,
Range: Sync,
StateUpdate: Sync,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> Unpin for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: Unpin,
BlockNumber: Unpin,
Checkpoint: Unpin,
Hash: Unpin,
InclusionProof: Unpin,
Range: Unpin,
StateUpdate: Unpin,
impl<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> UnwindSafe for RawEvent<AccountId, Hash, BlockNumber, Range, Checkpoint, StateUpdate, InclusionProof> where
AccountId: UnwindSafe,
BlockNumber: UnwindSafe,
Checkpoint: UnwindSafe,
Hash: UnwindSafe,
InclusionProof: UnwindSafe,
Range: UnwindSafe,
StateUpdate: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,