pub struct CleanStorageOptions {
pub expired_certs: bool,
pub expired_cert_grace_period: Duration,
pub ocsp_staples: bool,
pub interval: Duration,
pub instance_id: Option<String>,
}Expand description
Options for clean_storage.
Fields§
§expired_certs: boolDelete expired certificates and their keys/meta.
expired_cert_grace_period: DurationGrace period: certificates newer-expired than this are kept.
ocsp_staples: boolDelete stale/invalid OCSP staples.
interval: DurationMinimum interval between cleanups (uses last_clean.json).
instance_id: Option<String>Optional instance id to store alongside the last-clean timestamp.
Trait Implementations§
Source§impl Clone for CleanStorageOptions
impl Clone for CleanStorageOptions
Source§impl Debug for CleanStorageOptions
impl Debug for CleanStorageOptions
Auto Trait Implementations§
impl Freeze for CleanStorageOptions
impl RefUnwindSafe for CleanStorageOptions
impl Send for CleanStorageOptions
impl Sync for CleanStorageOptions
impl Unpin for CleanStorageOptions
impl UnsafeUnpin for CleanStorageOptions
impl UnwindSafe for CleanStorageOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestCreates a shared type from an unshared type.