pub struct BlockValidationFutures {
pub block_task: BlockValidationFuture,
pub virtual_state_task: BlockValidationFuture,
}Expand description
A struct returned by consensus for block validation processing calls
Fields§
§block_task: BlockValidationFutureA future triggered when block processing is completed (header and body processing)
virtual_state_task: BlockValidationFutureA future triggered when DAG state which included this block has been processed by the virtual processor
(exceptions are header-only blocks and trusted blocks which have the future completed before virtual
processing along with the block_task)
Auto Trait Implementations§
impl Freeze for BlockValidationFutures
impl !RefUnwindSafe for BlockValidationFutures
impl Send for BlockValidationFutures
impl !Sync for BlockValidationFutures
impl Unpin for BlockValidationFutures
impl !UnwindSafe for BlockValidationFutures
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more