pub enum BlockstoreError {
Show 26 variants
ShredForIndexExists,
InvalidShredData(Error),
RocksDb(Error),
SlotNotRooted,
DeadSlot,
Io(Error),
Serialize(Error),
FsExtraError(Error),
SlotCleanedUp,
UnpackError(UnpackError),
UnableToSetOpenFileDescriptorLimit,
TransactionStatusSlotMismatch,
EmptyEpochStakes,
NoVoteTimestampsInRange,
ProtobufEncodeError(EncodeError),
ProtobufDecodeError(DecodeError),
ParentEntriesUnavailable,
SlotUnavailable,
UnsupportedTransactionVersion,
MissingTransactionMetadata,
TransactionIndexOverflow,
InvalidErasureConfig,
UnknownLastIndex(Slot),
MissingShred(Slot, u64),
LegacyShred(Slot, u64),
MissingMerkleRoot(Slot, u64),
}Variants§
ShredForIndexExists
InvalidShredData(Error)
RocksDb(Error)
SlotNotRooted
DeadSlot
Io(Error)
Serialize(Error)
FsExtraError(Error)
SlotCleanedUp
UnpackError(UnpackError)
UnableToSetOpenFileDescriptorLimit
TransactionStatusSlotMismatch
EmptyEpochStakes
NoVoteTimestampsInRange
ProtobufEncodeError(EncodeError)
ProtobufDecodeError(DecodeError)
UnsupportedTransactionVersion
MissingTransactionMetadata
TransactionIndexOverflow
InvalidErasureConfig
UnknownLastIndex(Slot)
MissingShred(Slot, u64)
LegacyShred(Slot, u64)
MissingMerkleRoot(Slot, u64)
Trait Implementations§
Source§impl Debug for BlockstoreError
impl Debug for BlockstoreError
Source§impl Display for BlockstoreError
impl Display for BlockstoreError
Source§impl Error for BlockstoreError
impl Error for BlockstoreError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BlockstoreError> for BlockstoreProcessorError
impl From<BlockstoreError> for BlockstoreProcessorError
Source§fn from(source: BlockstoreError) -> Self
fn from(source: BlockstoreError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for BlockstoreError
impl From<DecodeError> for BlockstoreError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for BlockstoreError
impl From<EncodeError> for BlockstoreError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for BlockstoreError
impl From<Error> for BlockstoreError
Source§impl From<Error> for BlockstoreError
impl From<Error> for BlockstoreError
Source§impl From<Error> for BlockstoreError
impl From<Error> for BlockstoreError
Source§impl From<UnpackError> for BlockstoreError
impl From<UnpackError> for BlockstoreError
Source§fn from(source: UnpackError) -> Self
fn from(source: UnpackError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockstoreError
impl !RefUnwindSafe for BlockstoreError
impl Send for BlockstoreError
impl Sync for BlockstoreError
impl Unpin for BlockstoreError
impl !UnwindSafe for BlockstoreError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.