Enum ethcore::client::ClientIoMessage
source · [−]pub enum ClientIoMessage {
NewChainHead,
BlockVerified,
BeginRestoration(ManifestData),
FeedStateChunk(H256, Bytes),
FeedBlockChunk(H256, Bytes),
TakeSnapshot(u64),
Execute(Callback),
}
Expand description
Message type for external and internal events
Variants
NewChainHead
Best Block Hash in chain has been changed
BlockVerified
A 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
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ClientIoMessage
impl Send for ClientIoMessage
impl Sync for ClientIoMessage
impl Unpin for ClientIoMessage
impl !UnwindSafe for ClientIoMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more