Enum common_types::errors::SnapshotError [−][src]
Snapshot-related errors.
Variants
InvalidStartingBlock(BlockId)
Invalid starting block for snapshot.
Block not found.
Incomplete chain.
Best block has wrong state root.
WrongBlockHash(u64, H256, H256)
Wrong block hash.
Too many blocks contained within the snapshot.
Old starting block in a pruned database.
MissingCode(Vec<H256>)
Missing code.
UnrecognizedCodeState(u8)
Unrecognized code encoding.
Restoration aborted.
Trie(TrieError)
Trie error.
Decoder(DecoderError)
Decoder error.
Io(Error)
Io error.
VersionNotSupported(u64)
Snapshot version is not supported.
Max chunk size is to small to fit basic account data.
Oversized chunk
Snapshots not supported by the consensus engine.
Aborted snapshot
BadEpochProof(u64)
Bad epoch transition.
WrongChunkFormat(String)
Wrong chunk format.
Unlinked ancient block chain; includes the parent hash where linkage failed
Trait Implementations
impl Debug for SnapshotError
[src]
impl Display for SnapshotError
[src]
impl Error for SnapshotError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<E> From<Box<E, Global>> for SnapshotError where
SnapshotError: From<E>,
[src]
SnapshotError: From<E>,
impl From<DecoderError> for SnapshotError
[src]
fn from(err: DecoderError) -> Self
[src]
impl From<Error> for SnapshotError
[src]
impl From<SnapshotError> for VapcoreError
[src]
fn from(original: SnapshotError) -> VapcoreError
[src]
impl From<TrieError<H256, DecoderError>> for SnapshotError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SnapshotError
impl Send for SnapshotError
impl Sync for SnapshotError
impl Unpin for SnapshotError
impl !UnwindSafe for SnapshotError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,