gio::prelude

Trait AppInfoExtManual

Source
pub trait AppInfoExtManual:
    Sealed
    + IsA<AppInfo>
    + 'static {
    // Provided methods
    fn launch_uris_async<P: IsA<AppLaunchContext>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + 'static>(
        &self,
        uris: &[&str],
        context: Option<&P>,
        cancellable: Option<&Q>,
        callback: R,
    ) { ... }
    fn launch_uris_future<P: IsA<AppLaunchContext> + Clone + 'static>(
        &self,
        uris: &[&str],
        context: Option<&P>,
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
}

Provided Methods§

Source

fn launch_uris_async<P: IsA<AppLaunchContext>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + 'static>( &self, uris: &[&str], context: Option<&P>, cancellable: Option<&Q>, callback: R, )

Available on crate feature v2_60 only.
Source

fn launch_uris_future<P: IsA<AppLaunchContext> + Clone + 'static>( &self, uris: &[&str], context: Option<&P>, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>

Available on crate feature v2_60 only.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§