pub enum CookieRefreshCache {
Disabled,
Automatic,
UpdateAge(f64),
}Expand description
Stateless cache renewal policy, corresponding to cookieCache.refreshCache.
Variants§
Disabled
No cache renewal.
Automatic
Renew when remaining envelope lifetime is below floor(maxAge * 0.2).
UpdateAge(f64)
Renew below this remaining lifetime in seconds (JavaScript Number).
Trait Implementations§
Source§impl Clone for CookieRefreshCache
impl Clone for CookieRefreshCache
impl Copy for CookieRefreshCache
Source§impl Debug for CookieRefreshCache
impl Debug for CookieRefreshCache
Auto Trait Implementations§
impl Freeze for CookieRefreshCache
impl RefUnwindSafe for CookieRefreshCache
impl Send for CookieRefreshCache
impl Sync for CookieRefreshCache
impl Unpin for CookieRefreshCache
impl UnsafeUnpin for CookieRefreshCache
impl UnwindSafe for CookieRefreshCache
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