Enum solana_ledger::shred::ShredError [−][src]
pub enum ShredError {
InvalidShredType,
InvalidFecRate(f32),
SlotTooLow {
slot: Slot,
parent_slot: Slot,
},
Serialize(Box<ErrorKind>),
InvalidParentOffset {
slot: Slot,
parent_offset: u16,
},
}
Variants
InvalidShredType
InvalidFecRate(f32)
Tuple Fields
0: f32
SlotTooLow
Serialize(Box<ErrorKind>)
InvalidParentOffset
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ShredError
impl Send for ShredError
impl Sync for ShredError
impl Unpin for ShredError
impl !UnwindSafe for ShredError
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
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