pub struct Container { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl ServiceProvider for Container
impl ServiceProvider for Container
Source§fn extensions(&self) -> MutexGuard<'_, ServiceProviderExtensions>
fn extensions(&self) -> MutexGuard<'_, ServiceProviderExtensions>
Service provider’s extensions container
Source§fn find<T>(&self) -> Result<T, Error>
fn find<T>(&self) -> Result<T, Error>
Returns Some(
T
) if value already hashed, otherwise returns None.fn count(&self) -> usize
Auto Trait Implementations§
impl !Freeze for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnwindSafe for Container
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