Enum poem::session::CookieSecurity
source[−]This is supported on crate feature
session
only.Expand description
Cookie security for session.
Variants
Plain
Use the raw cookie value.
NOTE: It is not recommended to be used in a production environment.
Private(CookieKey)
Tuple Fields
0: CookieKey
Use the key to encrypt the cookie value.
Signed(CookieKey)
Tuple Fields
0: CookieKey
Sign the cookie value with the key.
Auto Trait Implementations
impl RefUnwindSafe for CookieSecurity
impl Send for CookieSecurity
impl Sync for CookieSecurity
impl Unpin for CookieSecurity
impl UnwindSafe for CookieSecurity
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more