pub enum CookieCacheStrategy {
Compact,
Jwt,
Jwe,
}Expand description
Strategy for signing / encrypting the cookie cache.
Variants§
Compact
Base64url-encoded payload + HMAC-SHA256 signature.
Jwt
Standard JWT with HMAC signing.
Jwe
JWE with AES-256-GCM encryption.
Trait Implementations§
Source§impl Clone for CookieCacheStrategy
impl Clone for CookieCacheStrategy
Source§fn clone(&self) -> CookieCacheStrategy
fn clone(&self) -> CookieCacheStrategy
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 CookieCacheStrategy
impl Debug for CookieCacheStrategy
Source§impl PartialEq for CookieCacheStrategy
impl PartialEq for CookieCacheStrategy
impl Eq for CookieCacheStrategy
impl StructuralPartialEq for CookieCacheStrategy
Auto Trait Implementations§
impl Freeze for CookieCacheStrategy
impl RefUnwindSafe for CookieCacheStrategy
impl Send for CookieCacheStrategy
impl Sync for CookieCacheStrategy
impl Unpin for CookieCacheStrategy
impl UnsafeUnpin for CookieCacheStrategy
impl UnwindSafe for CookieCacheStrategy
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