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
InvalidFecRate(f32)
Tuple Fields of InvalidFecRate
0: f32
Fields of InvalidParentOffset
slot: Slot
parent_offset: u16
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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