Enum ethcore::service::ClientIoMessage [] [src]

pub enum ClientIoMessage {
    NewChainHead,
    BlockVerified,
    NewTransactions(Vec<Bytes>, usize),
    BeginRestoration(ManifestData),
    FeedStateChunk(H256Bytes),
    FeedBlockChunk(H256Bytes),
    TakeSnapshot(u64),
    NewMessage(Bytes),
}

Message type for external and internal events

Variants

Best Block Hash in chain has been changed

A block is ready

New transaction RLPs are ready to be imported

Begin snapshot restoration

Feed a state chunk to the snapshot service

Feed a block chunk to the snapshot service

Take a snapshot for the block with given number.

New consensus message received.

Trait Implementations

impl Clone for ClientIoMessage
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ClientIoMessage
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ClientIoMessage
[src]

impl Debug for ClientIoMessage
[src]

Formats the value using the given formatter.