pub enum SignOutboundError {
InvalidConfig(String),
Signer(String),
Serialize(String),
}Expand description
Errors returned by the F4b signer.
Variants§
InvalidConfig(String)
Env-driven configuration was internally inconsistent (e.g. both HMAC and Ed25519 keys set, or alg set without kid).
Signer(String)
Underlying signer rejected the canonical payload.
Serialize(String)
Canonical-JSON serialization failed.
Trait Implementations§
Source§impl Debug for SignOutboundError
impl Debug for SignOutboundError
Source§impl Display for SignOutboundError
impl Display for SignOutboundError
Source§impl Error for SignOutboundError
impl Error for SignOutboundError
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()
Auto Trait Implementations§
impl Freeze for SignOutboundError
impl RefUnwindSafe for SignOutboundError
impl Send for SignOutboundError
impl Sync for SignOutboundError
impl Unpin for SignOutboundError
impl UnsafeUnpin for SignOutboundError
impl UnwindSafe for SignOutboundError
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