pub struct BlockCollationResult {
pub collation_session_id: (ShardIdent, u32, u32),
pub candidate: Box<BlockCandidate>,
pub prev_mc_block_id: BlockId,
pub mc_data: Option<Arc<McData>>,
pub collation_config: Arc<CollationConfig>,
pub force_next_mc_block: ForceMasterCollation,
pub has_processed_externals: bool,
}Fields§
§collation_session_id: (ShardIdent, u32, u32)§candidate: Box<BlockCandidate>§prev_mc_block_id: BlockId§mc_data: Option<Arc<McData>>§collation_config: Arc<CollationConfig>§force_next_mc_block: ForceMasterCollation§has_processed_externals: boolWhether any external has been executed in this block
Auto Trait Implementations§
impl Freeze for BlockCollationResult
impl !RefUnwindSafe for BlockCollationResult
impl Send for BlockCollationResult
impl Sync for BlockCollationResult
impl Unpin for BlockCollationResult
impl UnsafeUnpin for BlockCollationResult
impl !UnwindSafe for BlockCollationResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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