FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ILauncher

    trait · ferroui-base · v0.5.0

    trait ILauncher
    

    Starts the default app associated with the specified file or URI.

    View source

    Members

    launch_uri_async

    fn launch_uri_async(self: &Self, uri: &Url) -> LocalBoxFuture<bool>
    

    Starts the default app associated with the URI scheme name for the specified URI.

    The URI is absolute (a Url): a relative reference names nothing to launch, so it is resolved, or refused, before it gets here.

    Resolves to true if the operation was successful, false otherwise.

    Source

    launch_file_async

    fn launch_file_async(self: &Self, storage_item: Rc<dyn IStorageItem>) -> LocalBoxFuture<bool>
    

    Starts the default app associated with the specified storage file or folder.

    Resolves to true if the operation was successful, false otherwise.

    Source

    Trait implementations

    Availability

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