pub enum PruningError {
LogStripesOutOfRange,
StripeOutOfRange,
BlockHeightTooLarge,
BlockChainHeightTooLarge,
CalculatedHeightSmallerThanEnteredBlock,
SeedDoesNotHaveCorrectLogStripes,
}
Variants§
LogStripesOutOfRange
StripeOutOfRange
BlockHeightTooLarge
BlockChainHeightTooLarge
CalculatedHeightSmallerThanEnteredBlock
SeedDoesNotHaveCorrectLogStripes
Trait Implementations§
Source§impl Debug for PruningError
impl Debug for PruningError
Source§impl Display for PruningError
impl Display for PruningError
Source§impl Error for PruningError
impl Error for PruningError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for PruningError
impl RefUnwindSafe for PruningError
impl Send for PruningError
impl Sync for PruningError
impl Unpin for PruningError
impl UnwindSafe for PruningError
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
LogStripesOutOfRange
: 0 bytesStripeOutOfRange
: 0 bytesBlockHeightTooLarge
: 0 bytesBlockChainHeightTooLarge
: 0 bytesCalculatedHeightSmallerThanEnteredBlock
: 0 bytesSeedDoesNotHaveCorrectLogStripes
: 0 bytes