pub struct BlockDetails {
pub mmr_with_block: Arc<BlockMerkleMountainRange>,
pub system_contract_states: Arc<[ContractSlotState]>,
}Expand description
Additional details about a block
Fields§
§mmr_with_block: Arc<BlockMerkleMountainRange>Merkle Mountain Range with block
system_contract_states: Arc<[ContractSlotState]>System contracts state after block
Trait Implementations§
Source§impl Clone for BlockDetails
impl Clone for BlockDetails
Auto Trait Implementations§
impl Forget for BlockDetails
impl Freeze for BlockDetailswhere
*const ArcInner<MerkleMountainRange<4294967295, Blake3StaticMerkleHasher<*b"\xffoK\xc6\xc4<2\x83\xd0H\xee\x93\x87.\xa2\x17\xb5\xcb\x95a\xb8\xfby\xa1\x1d\xec\xcb\x03\rq\x0c(">>> is !null: Freeze,
PhantomData<MerkleMountainRange<4294967295, Blake3StaticMerkleHasher<*b"\xffoK\xc6\xc4<2\x83\xd0H\xee\x93\x87.\xa2\x17\xb5\xcb\x95a\xb8\xfby\xa1\x1d\xec\xcb\x03\rq\x0c(">>>: Freeze,
*const ArcInner<[ContractSlotState]> is !null: Freeze,
PhantomData<[ContractSlotState]>: Freeze,
impl Move for BlockDetails
impl RefUnwindSafe for BlockDetails
impl Send for BlockDetailswhere
Arc<MerkleMountainRange<4294967295, Blake3StaticMerkleHasher<*b"\xffoK\xc6\xc4<2\x83\xd0H\xee\x93\x87.\xa2\x17\xb5\xcb\x95a\xb8\xfby\xa1\x1d\xec\xcb\x03\rq\x0c(">>>: Send,
Arc<[ContractSlotState]>: Send,
impl Sync for BlockDetailswhere
Arc<MerkleMountainRange<4294967295, Blake3StaticMerkleHasher<*b"\xffoK\xc6\xc4<2\x83\xd0H\xee\x93\x87.\xa2\x17\xb5\xcb\x95a\xb8\xfby\xa1\x1d\xec\xcb\x03\rq\x0c(">>>: Sync,
Arc<[ContractSlotState]>: Sync,
impl Unpin for BlockDetails
impl UnsafeUnpin for BlockDetailswhere
*const ArcInner<MerkleMountainRange<4294967295, Blake3StaticMerkleHasher<*b"\xffoK\xc6\xc4<2\x83\xd0H\xee\x93\x87.\xa2\x17\xb5\xcb\x95a\xb8\xfby\xa1\x1d\xec\xcb\x03\rq\x0c(">>> is !null: UnsafeUnpin,
PhantomData<MerkleMountainRange<4294967295, Blake3StaticMerkleHasher<*b"\xffoK\xc6\xc4<2\x83\xd0H\xee\x93\x87.\xa2\x17\xb5\xcb\x95a\xb8\xfby\xa1\x1d\xec\xcb\x03\rq\x0c(">>>: UnsafeUnpin,
*const ArcInner<[ContractSlotState]> is !null: UnsafeUnpin,
PhantomData<[ContractSlotState]>: UnsafeUnpin,
impl UnwindSafe for BlockDetailswhere
Arc<MerkleMountainRange<4294967295, Blake3StaticMerkleHasher<*b"\xffoK\xc6\xc4<2\x83\xd0H\xee\x93\x87.\xa2\x17\xb5\xcb\x95a\xb8\xfby\xa1\x1d\xec\xcb\x03\rq\x0c(">>>: UnwindSafe,
Arc<[ContractSlotState]>: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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