pub struct ValueState<B>where
B: StateBackend,{ /* private fields */ }Expand description
Value state (stores a single value per key).
Implementations§
Source§impl<B> ValueState<B>where
B: StateBackend,
impl<B> ValueState<B>where
B: StateBackend,
Trait Implementations§
Source§impl<B> KeyedState for ValueState<B>where
B: StateBackend,
impl<B> KeyedState for ValueState<B>where
B: StateBackend,
Auto Trait Implementations§
impl<B> Freeze for ValueState<B>
impl<B> RefUnwindSafe for ValueState<B>where
B: RefUnwindSafe,
impl<B> Send for ValueState<B>
impl<B> Sync for ValueState<B>
impl<B> Unpin for ValueState<B>
impl<B> UnsafeUnpin for ValueState<B>
impl<B> UnwindSafe for ValueState<B>where
B: RefUnwindSafe,
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