pub enum IssuerError {
NotAnIdentityKey,
UnknownBinding,
NoConnectMaterial(String),
RotationOverdue {
failures: u64,
left_ms: i64,
},
Key(KeyError),
Binding(BindingError),
}Expand description
Why the issuer could not do what was asked.
Variants§
NotAnIdentityKey
The key given is not an identity key.
UnknownBinding
A subscription to a binding the issuer does not hold, or whose not_after has passed.
NoConnectMaterial(String)
No CONNECT binding and status statement in force, because the work that renews them failed.
RotationOverdue
A rotation failed while the current binding expires within the rotation margin.
Key(KeyError)
A key could not be made or could not sign.
Binding(BindingError)
A binding or statement could not be issued.
Trait Implementations§
Source§impl Clone for IssuerError
impl Clone for IssuerError
Source§impl Debug for IssuerError
impl Debug for IssuerError
Source§impl Display for IssuerError
impl Display for IssuerError
impl Eq for IssuerError
Source§impl Error for IssuerError
impl Error for IssuerError
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 From<BindingError> for IssuerError
impl From<BindingError> for IssuerError
Source§fn from(e: BindingError) -> Self
fn from(e: BindingError) -> Self
Converts to this type from the input type.
Source§impl From<KeyError> for IssuerError
impl From<KeyError> for IssuerError
Source§impl PartialEq for IssuerError
impl PartialEq for IssuerError
impl StructuralPartialEq for IssuerError
Auto Trait Implementations§
impl Freeze for IssuerError
impl RefUnwindSafe for IssuerError
impl Send for IssuerError
impl Sync for IssuerError
impl Unpin for IssuerError
impl UnsafeUnpin for IssuerError
impl UnwindSafe for IssuerError
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