Struct solana_ledger::shred::ErasureSetId
source · pub(crate) struct ErasureSetId(Slot, u32);
Expand description
Tuple which identifies erasure coding set that the shred belongs to.
Tuple Fields§
§0: Slot
§1: u32
Implementations§
Trait Implementations§
source§impl Clone for ErasureSetId
impl Clone for ErasureSetId
source§fn clone(&self) -> ErasureSetId
fn clone(&self) -> ErasureSetId
Returns a copy 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 moresource§impl Debug for ErasureSetId
impl Debug for ErasureSetId
source§impl Hash for ErasureSetId
impl Hash for ErasureSetId
source§impl PartialEq<ErasureSetId> for ErasureSetId
impl PartialEq<ErasureSetId> for ErasureSetId
source§fn eq(&self, other: &ErasureSetId) -> bool
fn eq(&self, other: &ErasureSetId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ErasureSetId
impl Eq for ErasureSetId
impl StructuralEq for ErasureSetId
impl StructuralPartialEq for ErasureSetId
Auto Trait Implementations§
impl RefUnwindSafe for ErasureSetId
impl Send for ErasureSetId
impl Sync for ErasureSetId
impl Unpin for ErasureSetId
impl UnwindSafe for ErasureSetId
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request