AsyncServiceScope
struct · ferroui-dependency-injection · v0.5.0
struct AsyncServiceScope
Wraps any synchronous scope, preferring its async-disposal capability when available.
Members
new
fn new(scope: Rc<dyn IServiceScope>) -> Self
service_provider
fn service_provider(self: &Self) -> &ServiceProvider
dispose
fn dispose(self: &Self) -> ServiceResult<()>
dispose_async
fn dispose_async(self: &Self) -> DisposeTask
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneIDisposableIAsyncDisposableIServiceScope
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.