pub struct ContextManager { /* private fields */ }Expand description
Aggregates multiple context providers and merges their results.
Implementations§
Source§impl ContextManager
impl ContextManager
Sourcepub fn add_provider(&mut self, provider: Box<dyn ContextProvider>)
pub fn add_provider(&mut self, provider: Box<dyn ContextProvider>)
Register a context provider.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContextManager
impl !RefUnwindSafe for ContextManager
impl Send for ContextManager
impl Sync for ContextManager
impl Unpin for ContextManager
impl UnsafeUnpin for ContextManager
impl !UnwindSafe for ContextManager
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