[][src]Enum damn_vuln_blockchain::logs::Action

pub enum Action {
    InitLog,
    PeerConnected(Peer),
    PeerEnroll(Peer),
    MintingAsset(Asset),
    DistributingAssets(AssetPeer),
    TransactionRequest(AssetPeer),
    StakeBroadcast(PeerString),
    TransactionValidated(Peer),
    BlockCreation(Block),
    TransactionBroadcasting,
}

Variants

InitLog

Initialize log

PeerConnected(Peer)

Peer connected event, pass in peer ID

PeerEnroll(Peer)

Peer connected event, pass in peer ID

MintingAsset(Asset)

Miniting asset event, pass in Asset ID

DistributingAssets(AssetPeer)

Distributing asset asset ID to peer peer ID

TransactionRequest(AssetPeer)

Transaction request event from peer peer ID for asset asset ID

StakeBroadcast(PeerString)

Stake broadcast event from peer peer ID with stake

TransactionValidated(Peer)

Transaction validation event. Transaction validated by peer peer ID

BlockCreation(Block)

Block creation event for block block ID

TransactionBroadcasting

Transaction broadcasting event by peer peer ID to peer peer ID after when a block is created

Trait Implementations

impl<'de> Deserialize<'de> for Action[src]

impl Display for Action[src]

Auto Trait Implementations

impl RefUnwindSafe for Action

impl Send for Action

impl Sync for Action

impl Unpin for Action

impl UnwindSafe for Action

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,