Enum solana_gossip::duplicate_shred::Error [−][src]
pub enum Error {
Show 15 variants
DataChunkMismatch,
InvalidChunkIndex,
InvalidDuplicateShreds,
InvalidDuplicateSlotProof,
InvalidSignature,
InvalidSizeLimit,
InvalidShred(ShredError),
NumChunksMismatch,
MissingDataChunk,
SerializationError(Error),
ShredIndexMismatch,
ShredTypeMismatch,
SlotMismatch,
TryFromIntError(TryFromIntError),
UnknownSlotLeader,
}
Variants
DataChunkMismatch
InvalidChunkIndex
InvalidDuplicateShreds
InvalidDuplicateSlotProof
InvalidSignature
InvalidSizeLimit
InvalidShred(ShredError)
Tuple Fields
0: ShredError
NumChunksMismatch
MissingDataChunk
SerializationError(Error)
Tuple Fields
0: Error
ShredIndexMismatch
ShredTypeMismatch
SlotMismatch
TryFromIntError(TryFromIntError)
Tuple Fields
UnknownSlotLeader
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
impl<T> TupleTree<T, ()> for T
impl<T> TupleTree<T, ()> for T
pub const SIZE: Size
pub fn descendants(_indirect_level: usize) -> usize
pub fn preorder_with_size_hint(self, f: &mut impl FnMut(Visit<T>, Size))
pub fn postorder_with_size_hint(self, f: &mut impl FnMut(Visit<T>, Size))
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more