pub enum InputError<SE, PE> {
Processing(Error),
Provider(PE),
Source(SE),
Unsupported,
MalformedAlgorithm,
ObjectCount,
Membership,
HashWidth,
OutputWidth,
ForeignRenewal,
ForeignDigest,
}Expand description
Original acquisition/provider failure or a completed unusable ERS recipe.
Variants§
Processing(Error)
Original source/depth/storage/work refusal.
Provider(PE)
The selected provider failed; its cause is preserved unchanged.
Source(SE)
Actual covered source did not reach successful EOF.
Unsupported
The selected provider does not implement this stream or written identity.
MalformedAlgorithm
A written digest violates its algorithm-specific syntax.
ObjectCount
A supplied group is empty, or Object was given several sources.
Membership
The selected object/group is absent from the first partial tree.
HashWidth
A declared tree hash has the wrong full output width.
OutputWidth
Provider output contradicts its own promised width.
ForeignRenewal
A previous-sequence receipt names another record or another new chain.
ForeignDigest
Cached input came from another provider, identity or request ordinal.
Trait Implementations§
Auto Trait Implementations§
impl<SE, PE> !Freeze for InputError<SE, PE>
impl<SE, PE> RefUnwindSafe for InputError<SE, PE>where
PE: RefUnwindSafe,
SE: RefUnwindSafe,
impl<SE, PE> Send for InputError<SE, PE>
impl<SE, PE> Sync for InputError<SE, PE>
impl<SE, PE> Unpin for InputError<SE, PE>
impl<SE, PE> UnsafeUnpin for InputError<SE, PE>where
PE: UnsafeUnpin,
SE: UnsafeUnpin,
impl<SE, PE> UnwindSafe for InputError<SE, PE>where
PE: UnwindSafe,
SE: UnwindSafe,
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