[]Struct gio::Subprocess

pub struct Subprocess(_, _);

Methods

impl Subprocess[src]

pub fn communicate_utf8_async<R: FnOnce(Result<(GString, GString), Error>) + Send + 'static, C: IsA<Cancellable>>(
    &self,
    stdin_buf: Option<String>,
    cancellable: Option<&C>,
    callback: R
)
[src]

pub fn communicate_utf8_async_future(
    &self,
    stdin_buf: Option<String>
) -> Pin<Box<dyn Future<Output = Result<(GString, GString), Error>> + 'static>>
[src]

impl Subprocess[src]

pub fn newv(
    argv: &[&OsStr],
    flags: SubprocessFlags
) -> Result<Subprocess, Error>
[src]

pub fn communicate<P: IsA<Cancellable>>(
    &self,
    stdin_buf: Option<&Bytes>,
    cancellable: Option<&P>
) -> Result<(Option<Bytes>, Option<Bytes>), Error>
[src]

pub fn communicate_async<P: IsA<Cancellable>, Q: FnOnce(Result<(Bytes, Bytes), Error>) + Send + 'static>(
    &self,
    stdin_buf: Option<&Bytes>,
    cancellable: Option<&P>,
    callback: Q
)
[src]

pub fn communicate_async_future(
    &self,
    stdin_buf: Option<&Bytes>
) -> Pin<Box_<dyn Future<Output = Result<(Bytes, Bytes), Error>> + 'static>>
[src]

pub fn communicate_utf8<P: IsA<Cancellable>>(
    &self,
    stdin_buf: Option<&str>,
    cancellable: Option<&P>
) -> Result<(Option<GString>, Option<GString>), Error>
[src]

pub fn force_exit(&self)[src]

pub fn get_exit_status(&self) -> i32[src]

pub fn get_identifier(&self) -> Option<GString>[src]

pub fn get_if_exited(&self) -> bool[src]

pub fn get_if_signaled(&self) -> bool[src]

pub fn get_status(&self) -> i32[src]

pub fn get_stderr_pipe(&self) -> Option<InputStream>[src]

pub fn get_stdin_pipe(&self) -> Option<OutputStream>[src]

pub fn get_stdout_pipe(&self) -> Option<InputStream>[src]

pub fn get_successful(&self) -> bool[src]

pub fn get_term_sig(&self) -> i32[src]

pub fn send_signal(&self, signal_num: i32)[src]

pub fn wait<P: IsA<Cancellable>>(
    &self,
    cancellable: Option<&P>
) -> Result<(), Error>
[src]

pub fn wait_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
    &self,
    cancellable: Option<&P>,
    callback: Q
)
[src]

pub fn wait_async_future(
    &self
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]

pub fn wait_check<P: IsA<Cancellable>>(
    &self,
    cancellable: Option<&P>
) -> Result<(), Error>
[src]

pub fn wait_check_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
    &self,
    cancellable: Option<&P>,
    callback: Q
)
[src]

pub fn wait_check_async_future(
    &self
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]

Trait Implementations

impl Clone for Subprocess

impl Debug for Subprocess

impl Display for Subprocess[src]

impl Eq for Subprocess

impl Hash for Subprocess

impl Ord for Subprocess

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

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

impl StaticType for Subprocess

Auto Trait Implementations

impl RefUnwindSafe for Subprocess

impl !Send for Subprocess

impl !Sync for Subprocess

impl Unpin for Subprocess

impl UnwindSafe for Subprocess

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.