pub enum RatchetRotation {
Minted,
KeptCurrent,
}Expand description
Whether a due check minted a fresh ratchet — Minted is the host’s cue to persist the
destination’s record NOW, the reference’s rotate_ratchets → _persist_ratchets law:
a secret peers may already encrypt toward must never exist only in memory.
Variants§
Trait Implementations§
Source§impl Clone for RatchetRotation
impl Clone for RatchetRotation
Source§fn clone(&self) -> RatchetRotation
fn clone(&self) -> RatchetRotation
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 RatchetRotation
Source§impl Debug for RatchetRotation
impl Debug for RatchetRotation
impl Eq for RatchetRotation
Source§impl PartialEq for RatchetRotation
impl PartialEq for RatchetRotation
impl StructuralPartialEq for RatchetRotation
Auto Trait Implementations§
impl Freeze for RatchetRotation
impl RefUnwindSafe for RatchetRotation
impl Send for RatchetRotation
impl Sync for RatchetRotation
impl Unpin for RatchetRotation
impl UnsafeUnpin for RatchetRotation
impl UnwindSafe for RatchetRotation
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