pub enum BundleVerificationError {
HashMismatch {
hash: ContentHash,
expected: ContentHash,
computed: ContentHash,
},
DanglingReference {
caused_by: String,
},
CausalViolation(CausalViolation),
}Expand description
Error during bundle verification.
Variants§
HashMismatch
A message’s content hash does not match its computed hash.
DanglingReference
A :caused-by hash does not resolve within the bundle.
CausalViolation(CausalViolation)
A causal link violates the protocol declaration.
Trait Implementations§
Source§impl Clone for BundleVerificationError
impl Clone for BundleVerificationError
Source§impl Debug for BundleVerificationError
impl Debug for BundleVerificationError
Source§impl Display for BundleVerificationError
impl Display for BundleVerificationError
impl Eq for BundleVerificationError
Source§impl PartialEq for BundleVerificationError
impl PartialEq for BundleVerificationError
impl StructuralPartialEq for BundleVerificationError
Auto Trait Implementations§
impl Forget for BundleVerificationError
impl Freeze for BundleVerificationError
impl Move for BundleVerificationError
impl RefUnwindSafe for BundleVerificationError
impl Send for BundleVerificationErrorwhere
RawVecInner: Send,
impl Sync for BundleVerificationErrorwhere
RawVecInner: Sync,
impl Unpin for BundleVerificationError
impl UnsafeUnpin for BundleVerificationErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BundleVerificationErrorwhere
RawVecInner: 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