Enum solana_ledger::shred::SignedData
source · pub(crate) enum SignedData<'a> {
Chunk(&'a [u8]),
MerkleRoot(Hash),
}
Variants§
Trait Implementations§
source§impl<'a> AsRef<[u8]> for SignedData<'a>
impl<'a> AsRef<[u8]> for SignedData<'a>
source§impl<'a> Debug for SignedData<'a>
impl<'a> Debug for SignedData<'a>
source§impl<'a> PartialEq<SignedData<'a>> for SignedData<'a>
impl<'a> PartialEq<SignedData<'a>> for SignedData<'a>
source§fn eq(&self, other: &SignedData<'a>) -> bool
fn eq(&self, other: &SignedData<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for SignedData<'a>
impl<'a> StructuralEq for SignedData<'a>
impl<'a> StructuralPartialEq for SignedData<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SignedData<'a>
impl<'a> Send for SignedData<'a>
impl<'a> Sync for SignedData<'a>
impl<'a> Unpin for SignedData<'a>
impl<'a> UnwindSafe for SignedData<'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
§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
§impl<Ctx, T> MeasureWith<Ctx> for Twhere
T: AsRef<[u8]>,
impl<Ctx, T> MeasureWith<Ctx> for Twhere T: AsRef<[u8]>,
§fn measure_with(&self, _ctx: &Ctx) -> usize
fn measure_with(&self, _ctx: &Ctx) -> usize
How large is
Self
, given the ctx
?