pub enum ErrorName {
Show 19 variants
TrustForm,
TrustCrossTenant,
BundleForm,
LeafForm,
LeafMismatch,
TenantMismatch,
UnknownLog,
CheckpointForm,
OriginMismatch,
BadProof,
LogSignatureMissing,
BadLogSignature,
BadCosignature,
TooFewCosignatures,
ConsistencyForm,
SizeRegression,
SplitView,
BadConsistencyProof,
InclusionMissing,
}Expand description
The spec’s error names (§14), one per check.
Variants§
TrustForm
TrustCrossTenant
BundleForm
LeafForm
LeafMismatch
TenantMismatch
UnknownLog
CheckpointForm
OriginMismatch
BadProof
LogSignatureMissing
BadLogSignature
BadCosignature
TooFewCosignatures
ConsistencyForm
SizeRegression
SplitView
BadConsistencyProof
InclusionMissing
Implementations§
Trait Implementations§
impl Copy for ErrorName
impl Eq for ErrorName
Source§impl Ord for ErrorName
impl Ord for ErrorName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ErrorName
impl PartialOrd for ErrorName
impl StructuralPartialEq for ErrorName
Auto Trait Implementations§
impl Forget for ErrorName
impl Freeze for ErrorName
impl Move for ErrorName
impl RefUnwindSafe for ErrorName
impl Send for ErrorName
impl Sync for ErrorName
impl Unpin for ErrorName
impl UnsafeUnpin for ErrorName
impl UnwindSafe for ErrorName
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