pub enum KeyChangeError {
Malformed(&'static str),
BadSignature,
Internal(&'static str),
}Expand description
Why keyChange verification failed, in the three buckets key_change_problem
renders as HTTP status: a shape problem the client can fix by resending
correctly formed inner JWS (Malformed, 400), a signature that plainly
does not verify against its own embedded key (BadSignature, 401), or a
stored account key this server itself cannot decode (Internal, 500 –
our bug, not the client’s).
Variants§
Trait Implementations§
Source§impl Debug for KeyChangeError
impl Debug for KeyChangeError
Source§impl From<SignatureError> for KeyChangeError
impl From<SignatureError> for KeyChangeError
Source§fn from(error: SignatureError) -> Self
fn from(error: SignatureError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyChangeError
impl RefUnwindSafe for KeyChangeError
impl Send for KeyChangeError
impl Sync for KeyChangeError
impl Unpin for KeyChangeError
impl UnsafeUnpin for KeyChangeError
impl UnwindSafe for KeyChangeError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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