pub struct StatusSnapshot {
pub entries: BTreeMap<SerialBytes, CertificateStatus>,
pub this_update: u64,
pub next_update: Option<u64>,
pub not_after: BTreeMap<SerialBytes, u64>,
}Fields§
§entries: BTreeMap<SerialBytes, CertificateStatus>§this_update: u64§next_update: Option<u64>§not_after: BTreeMap<SerialBytes, u64>Optional per-serial certificate expiry (notAfter, seconds since epoch).
Only sources that carry certificate validity — the 389 DS syncrepl
source — populate this; CRL sources leave it empty. Consumed by
archive_cutoff_secs pruning, which never drops a serial absent here.
Implementations§
Source§impl StatusSnapshot
impl StatusSnapshot
Sourcepub fn validate_at(&self, now: u64) -> Result<u64>
pub fn validate_at(&self, now: u64) -> Result<u64>
Validate source evidence at a supplied clock instant, returning its hard expiry.
Trait Implementations§
Source§impl Clone for StatusSnapshot
impl Clone for StatusSnapshot
Source§fn clone(&self) -> StatusSnapshot
fn clone(&self) -> StatusSnapshot
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 moreSource§impl Debug for StatusSnapshot
impl Debug for StatusSnapshot
Source§impl Default for StatusSnapshot
impl Default for StatusSnapshot
Source§fn default() -> StatusSnapshot
fn default() -> StatusSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatusSnapshot
impl RefUnwindSafe for StatusSnapshot
impl Send for StatusSnapshot
impl Sync for StatusSnapshot
impl Unpin for StatusSnapshot
impl UnsafeUnpin for StatusSnapshot
impl UnwindSafe for StatusSnapshot
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