Enum ethcore::client::ClientIoMessage  [−][src]
pub enum ClientIoMessage {
    NewChainHead,
    BlockVerified,
    BeginRestoration(ManifestData),
    FeedStateChunk(H256, Bytes),
    FeedBlockChunk(H256, Bytes),
    TakeSnapshot(u64),
    Execute(Callback),
}Message type for external and internal events
Variants
NewChainHeadBest Block Hash in chain has been changed
BlockVerifiedA block is ready
BeginRestoration(ManifestData)Begin snapshot restoration
FeedStateChunk(H256, Bytes)Feed a state chunk to the snapshot service
FeedBlockChunk(H256, Bytes)Feed a block chunk to the snapshot service
TakeSnapshot(u64)Take a snapshot for the block with given number.
Execute(Callback)Execute wrapped closure
Methods
impl ClientIoMessage[src] 
impl ClientIoMessagepub fn execute<F: Fn(&Client) + Send + Sync + 'static>(fun: F) -> Self[src] 
pub fn execute<F: Fn(&Client) + Send + Sync + 'static>(fun: F) -> SelfCreate new ClientIoMessage that executes given procedure.
Trait Implementations
impl Debug for ClientIoMessage[src] 
impl Debug for ClientIoMessageAuto Trait Implementations
impl Send for ClientIoMessage
impl Send for ClientIoMessageimpl Sync for ClientIoMessage
impl Sync for ClientIoMessage