Trait gio::prelude::DesktopAppInfoExtManual
source · pub trait DesktopAppInfoExtManual {
// Required 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>;
}
Required Methods§
sourcefn 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>
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.