pub enum AttestationSignError {
OriginMismatch {
claimed: u64,
keypair: u64,
},
Signing(EntityError),
}Expand description
Why an attestation could not be signed.
Variants§
OriginMismatch
The unsigned origin does not name the signing keypair’s
node id — an origin must only ever sign as itself.
Fields
Signing(EntityError)
The keypair refused to sign (public-only keypairs return
EntityError::ReadOnly).
Trait Implementations§
Source§impl Clone for AttestationSignError
impl Clone for AttestationSignError
Source§fn clone(&self) -> AttestationSignError
fn clone(&self) -> AttestationSignError
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 moreSource§impl Debug for AttestationSignError
impl Debug for AttestationSignError
Source§impl Display for AttestationSignError
impl Display for AttestationSignError
impl Eq for AttestationSignError
Source§impl Error for AttestationSignError
impl Error for AttestationSignError
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 AttestationSignError
impl PartialEq for AttestationSignError
impl StructuralPartialEq for AttestationSignError
Auto Trait Implementations§
impl Freeze for AttestationSignError
impl RefUnwindSafe for AttestationSignError
impl Send for AttestationSignError
impl Sync for AttestationSignError
impl Unpin for AttestationSignError
impl UnsafeUnpin for AttestationSignError
impl UnwindSafe for AttestationSignError
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.