FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AsyncServiceScope

    struct · ferroui-dependency-injection · v0.5.0

    struct AsyncServiceScope
    

    Wraps any synchronous scope, preferring its async-disposal capability when available.

    View source

    Members

    new

    fn new(scope: Rc<dyn IServiceScope>) -> Self
    

    Source

    service_provider

    fn service_provider(self: &Self) -> &ServiceProvider
    

    Source

    dispose

    fn dispose(self: &Self) -> ServiceResult<()>
    

    Source

    dispose_async

    fn dispose_async(self: &Self) -> DisposeTask
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.