pub struct ServiceProvider { /* private fields */ }
Implementations§
Source§impl ServiceProvider
impl ServiceProvider
pub fn new() -> ServiceProvider
pub fn boot(&self)
pub fn register_provider(&mut self, provider: Box<dyn Provider>)
Auto Trait Implementations§
impl Freeze for ServiceProvider
impl !RefUnwindSafe for ServiceProvider
impl !Send for ServiceProvider
impl !Sync for ServiceProvider
impl Unpin for ServiceProvider
impl !UnwindSafe for ServiceProvider
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