Struct tsukuyomi::session::Builder [−][src]
pub struct Builder { /* fields omitted */ }
A builder object for constructing an instance of SessionStorage
.
Methods
impl Builder
[src]
impl Builder
ⓘImportant traits for &'a mut Rpub fn secret_key<K>(&mut self, master_key: K) -> &mut Self where
K: AsRef<[u8]>,
[src]
ⓘImportant traits for &'a mut R
pub fn secret_key<K>(&mut self, master_key: K) -> &mut Self where
K: AsRef<[u8]>,
Generates a secret key to encrypt/decrypt Cookie values, by using the provided master key.
pub fn finish(&mut self) -> SessionStorage
[src]
pub fn finish(&mut self) -> SessionStorage
Creates a new instance of SessionStorage
with the current configuration.