Enum poem::session::CookieSecurity
source · [−]Available 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)
Use the key to encrypt the cookie value.
Signed(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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more