pub struct GenesisBlockBuilderResult<Block> {
pub block: Block,
pub system_contract_states: Arc<[ContractSlotState]>,
}
Fields§
§block: Block
Genesis block
system_contract_states: Arc<[ContractSlotState]>
System contracts state in the genesis block
Trait Implementations§
Auto Trait Implementations§
impl<Block> Freeze for GenesisBlockBuilderResult<Block>where
Block: Freeze,
impl<Block> RefUnwindSafe for GenesisBlockBuilderResult<Block>where
Block: RefUnwindSafe,
impl<Block> Send for GenesisBlockBuilderResult<Block>where
Block: Send,
impl<Block> Sync for GenesisBlockBuilderResult<Block>where
Block: Sync,
impl<Block> Unpin for GenesisBlockBuilderResult<Block>where
Block: Unpin,
impl<Block> UnwindSafe for GenesisBlockBuilderResult<Block>where
Block: UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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