pub trait DesktopAppInfoExtManual: IsA<DesktopAppInfo> {
// Provided method
fn launch_uris_as_manager_with_fds<P: IsA<AppLaunchContext>, T: AsRawFd, U: AsRawFd, V: AsRawFd>(
&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: &mut T,
stdout_fd: &mut U,
stderr_fd: &mut V,
) -> Result<(), Error> { ... }
}
Available on non-Windows and non-macOS only.
Provided Methods§
fn launch_uris_as_manager_with_fds<P: IsA<AppLaunchContext>, T: AsRawFd, U: AsRawFd, V: AsRawFd>( &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: &mut T, stdout_fd: &mut U, stderr_fd: &mut V, ) -> 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.