[][src]Trait waiter_di::container::Provider

pub trait Provider<T: ?Sized> {
    type Impl;
    fn get(&mut self) -> Rc<Self::Impl>;
fn create(&mut self) -> Self::Impl; fn get_ref(&mut self) -> &Self::Impl { ... }
fn create_boxed(&mut self) -> Box<Self::Impl> { ... } }

Associated Types

type Impl

Loading content...

Required methods

fn get(&mut self) -> Rc<Self::Impl>

fn create(&mut self) -> Self::Impl

Loading content...

Provided methods

fn get_ref(&mut self) -> &Self::Impl

fn create_boxed(&mut self) -> Box<Self::Impl>

Loading content...

Implementors

Loading content...