pub struct StateConfigs;Expand description
Predefined state configurations for common use cases
Implementations§
Source§impl StateConfigs
impl StateConfigs
Sourcepub fn high_performance() -> StateConfig
pub fn high_performance() -> StateConfig
Configuration for high-performance, in-memory state
Sourcepub fn session() -> StateConfig
pub fn session() -> StateConfig
Configuration for session state
Sourcepub fn short_lived() -> StateConfig
pub fn short_lived() -> StateConfig
Configuration for short-lived state
Sourcepub fn long_lived() -> StateConfig
pub fn long_lived() -> StateConfig
Configuration for long-lived state
Auto Trait Implementations§
impl Freeze for StateConfigs
impl RefUnwindSafe for StateConfigs
impl Send for StateConfigs
impl Sync for StateConfigs
impl Unpin for StateConfigs
impl UnwindSafe for StateConfigs
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