pub enum AttestationBridgeError {
CapabilityMismatch,
InterestDigestMismatch,
}Expand description
Why a wire attestation could not be bridged onto a validated
interest (semantic_attestation).
Variants§
CapabilityMismatch
The attestation names a different capability than the validated interest key.
InterestDigestMismatch
The attestation answers a different interest digest than the validated interest key.
Trait Implementations§
Source§impl Clone for AttestationBridgeError
impl Clone for AttestationBridgeError
Source§fn clone(&self) -> AttestationBridgeError
fn clone(&self) -> AttestationBridgeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttestationBridgeError
Source§impl Debug for AttestationBridgeError
impl Debug for AttestationBridgeError
Source§impl Display for AttestationBridgeError
impl Display for AttestationBridgeError
impl Eq for AttestationBridgeError
Source§impl Error for AttestationBridgeError
impl Error for AttestationBridgeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AttestationBridgeError
impl PartialEq for AttestationBridgeError
impl StructuralPartialEq for AttestationBridgeError
Auto Trait Implementations§
impl Freeze for AttestationBridgeError
impl RefUnwindSafe for AttestationBridgeError
impl Send for AttestationBridgeError
impl Sync for AttestationBridgeError
impl Unpin for AttestationBridgeError
impl UnsafeUnpin for AttestationBridgeError
impl UnwindSafe for AttestationBridgeError
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.