pub struct ContainerBuilder { /* private fields */ }Implementations§
Source§impl ContainerBuilder
impl ContainerBuilder
pub fn new() -> Self
pub fn registry(self, value: ServiceRegistry) -> Self
pub fn scope(self, value: ServiceScope) -> Self
pub fn initialized(self, value: bool) -> Self
pub fn build(self) -> Result<Container, BuildError>
pub fn build_with_defaults(self) -> Result<Container, BuildError>
Auto Trait Implementations§
impl Freeze for ContainerBuilder
impl RefUnwindSafe for ContainerBuilder
impl Send for ContainerBuilder
impl Sync for ContainerBuilder
impl Unpin for ContainerBuilder
impl UnwindSafe for ContainerBuilder
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