[][src]Struct heim_process::Command

pub struct Command(_);

Process command line.

Implementations

impl Command[src]

pub fn to_os_string(&self) -> OsString[src]

Create an OsString containing the process command line.

Spaces are used as a delimiters in the returned OsString.

Notes

This method will always allocate memory on all OSes.

pub fn into_os_string(self) -> OsString[src]

Consumes self and returns the underline process command line.

Spaces are used as a delimiters in the returned OsString.

Notes

This method might allocate on some OSes, depending on the implementation.

Trait Implementations

impl Debug for Command[src]

impl<'a> IntoIterator for &'a Command[src]

type Item = &'a OsStr

The type of the elements being iterated over.

type IntoIter = CommandIter<'a>

Which kind of iterator are we turning this into?

Auto Trait Implementations

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<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.