pub enum ServerSignerStatus {
Current,
Deprecated(DeprecatedSignerStatus),
Unknown,
}Expand description
Rotation status for any server signer key known to a client.
Variants§
Current
The server’s current signing key.
Deprecated(DeprecatedSignerStatus)
A deprecated signing key advertised by the server.
Unknown
A key that is neither current nor advertised as deprecated.
Implementations§
Source§impl ServerSignerStatus
impl ServerSignerStatus
Sourcepub fn requires_recovery(self) -> bool
pub fn requires_recovery(self) -> bool
Whether this key is a deprecated signer whose cooperative-sign window has closed.
Sourcepub fn is_pre_cutoff_deprecated(self) -> bool
pub fn is_pre_cutoff_deprecated(self) -> bool
Whether this key belongs to a deprecated signer that can still be cooperatively migrated.
Trait Implementations§
Source§impl Clone for ServerSignerStatus
impl Clone for ServerSignerStatus
Source§fn clone(&self) -> ServerSignerStatus
fn clone(&self) -> ServerSignerStatus
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 ServerSignerStatus
Source§impl Debug for ServerSignerStatus
impl Debug for ServerSignerStatus
impl Eq for ServerSignerStatus
Source§impl PartialEq for ServerSignerStatus
impl PartialEq for ServerSignerStatus
Source§fn eq(&self, other: &ServerSignerStatus) -> bool
fn eq(&self, other: &ServerSignerStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerSignerStatus
Auto Trait Implementations§
impl Freeze for ServerSignerStatus
impl RefUnwindSafe for ServerSignerStatus
impl Send for ServerSignerStatus
impl Sync for ServerSignerStatus
impl Unpin for ServerSignerStatus
impl UnsafeUnpin for ServerSignerStatus
impl UnwindSafe for ServerSignerStatus
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