#[repr(C)]pub struct ReplicaEntryInfo<'a> {
pub slot: Slot,
pub index: usize,
pub num_hashes: u64,
pub hash: &'a [u8],
pub executed_transaction_count: u64,
}Fields§
§slot: SlotThe slot number of the block containing this Entry
index: usizeThe Entry’s index in the block
num_hashes: u64The number of hashes since the previous Entry
hash: &'a [u8]The Entry’s SHA-256 hash, generated from the previous Entry’s hash with
solana_entry::entry::next_hash()
executed_transaction_count: u64The number of executed transactions in the Entry
Trait Implementations§
Source§impl<'a> Clone for ReplicaEntryInfo<'a>
impl<'a> Clone for ReplicaEntryInfo<'a>
Source§fn clone(&self) -> ReplicaEntryInfo<'a>
fn clone(&self) -> ReplicaEntryInfo<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ReplicaEntryInfo<'a>
impl<'a> RefUnwindSafe for ReplicaEntryInfo<'a>
impl<'a> Send for ReplicaEntryInfo<'a>
impl<'a> Sync for ReplicaEntryInfo<'a>
impl<'a> Unpin for ReplicaEntryInfo<'a>
impl<'a> UnwindSafe for ReplicaEntryInfo<'a>
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