[]Struct gio::SubprocessLauncher

pub struct SubprocessLauncher(_, _);

Methods

impl SubprocessLauncher[src]

pub fn take_fd<F: IntoRawFd, G: IntoRawFd>(&self, source_fd: F, target_fd: G)[src]

pub fn take_stderr_fd<F: IntoRawFd>(&self, fd: F)[src]

pub fn take_stdin_fd<F: IntoRawFd>(&self, fd: F)[src]

pub fn take_stdout_fd<F: IntoRawFd>(&self, fd: F)[src]

impl SubprocessLauncher[src]

pub fn new(flags: SubprocessFlags) -> SubprocessLauncher[src]

pub fn getenv<P: AsRef<Path>>(&self, variable: P) -> Option<PathBuf>[src]

pub fn set_child_setup<P: Fn() + 'static>(&self, child_setup: P)[src]

pub fn set_cwd<P: AsRef<Path>>(&self, cwd: P)[src]

pub fn set_environ(&self, env: &[&Path])[src]

pub fn set_flags(&self, flags: SubprocessFlags)[src]

pub fn set_stderr_file_path<P: AsRef<Path>>(&self, path: P)[src]

pub fn set_stdin_file_path(&self, path: &str)[src]

pub fn set_stdout_file_path<P: AsRef<Path>>(&self, path: P)[src]

pub fn setenv<P: AsRef<OsStr>, Q: AsRef<OsStr>>(
    &self,
    variable: P,
    value: Q,
    overwrite: bool
)
[src]

pub fn spawnv(&self, argv: &[&OsStr]) -> Result<Subprocess, Error>[src]

pub fn unsetenv<P: AsRef<OsStr>>(&self, variable: P)[src]

Trait Implementations

impl Clone for SubprocessLauncher

impl Debug for SubprocessLauncher

impl Display for SubprocessLauncher[src]

impl Eq for SubprocessLauncher

impl Hash for SubprocessLauncher

impl Ord for SubprocessLauncher

impl<T: ObjectType> PartialEq<T> for SubprocessLauncher

impl<T: ObjectType> PartialOrd<T> for SubprocessLauncher

impl StaticType for SubprocessLauncher

Auto Trait Implementations

impl RefUnwindSafe for SubprocessLauncher

impl !Send for SubprocessLauncher

impl !Sync for SubprocessLauncher

impl Unpin for SubprocessLauncher

impl UnwindSafe for SubprocessLauncher

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.