pub enum PacketKeyState {
Active,
Retiring,
Revoked,
}Expand description
Packet key lifecycle state tracked by SectorSync metadata.
Variants§
Active
Key can be used for sending and receiving packets.
Retiring
Key is accepted for receiving old packets but is not selected for send.
Revoked
Key is explicitly rejected.
Trait Implementations§
Source§impl Clone for PacketKeyState
impl Clone for PacketKeyState
Source§fn clone(&self) -> PacketKeyState
fn clone(&self) -> PacketKeyState
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 PacketKeyState
Source§impl Debug for PacketKeyState
impl Debug for PacketKeyState
impl Eq for PacketKeyState
Source§impl PartialEq for PacketKeyState
impl PartialEq for PacketKeyState
impl StructuralPartialEq for PacketKeyState
Auto Trait Implementations§
impl Freeze for PacketKeyState
impl RefUnwindSafe for PacketKeyState
impl Send for PacketKeyState
impl Sync for PacketKeyState
impl Unpin for PacketKeyState
impl UnsafeUnpin for PacketKeyState
impl UnwindSafe for PacketKeyState
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