pub enum ForkFailure {
Malformed(u64),
OutOfOrder(u64),
TooManyWindows(u64),
}Expand description
Why a segmented fork check failed for a reason other than a fork.
Variants§
Malformed(u64)
An embodiment has no body, no valid validFrom, or a validUntil
that is not a protocol time. The whole check answers (false, None).
OutOfOrder(u64)
An embodiment starts before the one before it. The segmented check
reads a history in validFrom order.
TooManyWindows(u64)
More than MAX_FORK_WINDOWS windows on one body overlap at once.
Trait Implementations§
Source§impl Clone for ForkFailure
impl Clone for ForkFailure
Source§impl Debug for ForkFailure
impl Debug for ForkFailure
impl Eq for ForkFailure
Source§impl PartialEq for ForkFailure
impl PartialEq for ForkFailure
impl StructuralPartialEq for ForkFailure
Auto Trait Implementations§
impl Forget for ForkFailure
impl Freeze for ForkFailure
impl Move for ForkFailure
impl RefUnwindSafe for ForkFailure
impl Send for ForkFailure
impl Sync for ForkFailure
impl Unpin for ForkFailure
impl UnsafeUnpin for ForkFailure
impl UnwindSafe for ForkFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.