pub struct HashMapContext { /* private fields */ }Expand description
Simple hash map based context manager
This is useful for basic context management where thread safety is handled externally.
Implementations§
Trait Implementations§
Source§impl ContextManager for HashMapContext
impl ContextManager for HashMapContext
Source§fn set_string(&self, key: &str, value: String)
fn set_string(&self, key: &str, value: String)
Set a string value in the context
Source§fn remove_string(&self, key: &str) -> bool
fn remove_string(&self, key: &str) -> bool
Remove a string value from the context
Auto Trait Implementations§
impl Freeze for HashMapContext
impl RefUnwindSafe for HashMapContext
impl Send for HashMapContext
impl Sync for HashMapContext
impl Unpin for HashMapContext
impl UnsafeUnpin for HashMapContext
impl UnwindSafe for HashMapContext
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