pub trait DesktopAppInfoExtManual: IsA<DesktopAppInfo> {
// Provided method
fn launch_uris_as_manager_with_fds<P: IsA<AppLaunchContext>>(
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>,
stdin_fd: Option<impl AsFd>,
stdout_fd: Option<impl AsFd>,
stderr_fd: Option<impl AsFd>,
) -> Result<(), Error> { ... }
}Available on non-Windows and non-macOS only.
Provided Methods§
fn launch_uris_as_manager_with_fds<P: IsA<AppLaunchContext>>( &self, uris: &[&str], launch_context: Option<&P>, spawn_flags: SpawnFlags, user_setup: Option<Box_<dyn FnOnce() + 'static>>, pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>, stdin_fd: Option<impl AsFd>, stdout_fd: Option<impl AsFd>, stderr_fd: Option<impl AsFd>, ) -> Result<(), Error>
Available on crate feature
v2_58 and Unix 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§
impl<O: IsA<DesktopAppInfo>> DesktopAppInfoExtManual for O
Available on crate feature
v2_58 and Unix only.