pub struct PersistedSelfRatchets<'a> {
pub last_rotated: LastRotated,
/* private fields */
}Expand description
Fixed-size secrets let the whole payload validate at open, so the secret iterator is infallible.
Fields§
§last_rotated: LastRotatedImplementations§
Source§impl PersistedSelfRatchets<'_>
impl PersistedSelfRatchets<'_>
pub fn secret_count(&self) -> usize
pub fn secrets_newest_first(&self) -> impl DoubleEndedIterator
Auto Trait Implementations§
impl<'a> Freeze for PersistedSelfRatchets<'a>
impl<'a> RefUnwindSafe for PersistedSelfRatchets<'a>
impl<'a> Send for PersistedSelfRatchets<'a>
impl<'a> Sync for PersistedSelfRatchets<'a>
impl<'a> Unpin for PersistedSelfRatchets<'a>
impl<'a> UnsafeUnpin for PersistedSelfRatchets<'a>
impl<'a> UnwindSafe for PersistedSelfRatchets<'a>
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