pub struct ServiceScope { /* private fields */ }Implementations§
Source§impl ServiceScope
impl ServiceScope
pub fn service_provider(&self) -> &ServiceProvider
pub fn dispose(&self) -> ServiceResult<()>
pub fn dispose_async(&self) -> Task<()> ⓘ
Trait Implementations§
Source§impl Clone for ServiceScope
impl Clone for ServiceScope
Source§impl IAsyncDisposable for ServiceScope
impl IAsyncDisposable for ServiceScope
Source§impl IDisposable for ServiceScope
impl IDisposable for ServiceScope
Source§impl IServiceScope for ServiceScope
impl IServiceScope for ServiceScope
fn async_disposable(&self) -> Option<&dyn IAsyncDisposable>
fn dispose_scope(&self) -> ServiceResult<()>
fn service_provider(&self) -> &ServiceProvider
Auto Trait Implementations§
impl !RefUnwindSafe for ServiceScope
impl !Send for ServiceScope
impl !Sync for ServiceScope
impl !UnwindSafe for ServiceScope
impl Freeze for ServiceScope
impl Unpin for ServiceScope
impl UnsafeUnpin for ServiceScope
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