pub enum RenewalPolicy {
WhenPercentRemaining(u8),
Every(Duration),
Manual,
}Expand description
When to automatically renew a certificate.
Variants§
WhenPercentRemaining(u8)
Renew when N% of the certificate lifetime remains. Default: 20.
Every(Duration)
Renew on a fixed interval regardless of cert expiry.
Manual
Never auto-renew.
Trait Implementations§
Source§impl Clone for RenewalPolicy
impl Clone for RenewalPolicy
Source§fn clone(&self) -> RenewalPolicy
fn clone(&self) -> RenewalPolicy
Returns a duplicate of the value. Read more
1.0.0 · 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 RenewalPolicy
impl Debug for RenewalPolicy
Auto Trait Implementations§
impl Freeze for RenewalPolicy
impl RefUnwindSafe for RenewalPolicy
impl Send for RenewalPolicy
impl Sync for RenewalPolicy
impl Unpin for RenewalPolicy
impl UnwindSafe for RenewalPolicy
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