Struct libcnb::data::launch::Process[][src]

pub struct Process {
    pub type: ProcessType,
    pub command: String,
    pub args: Vec<String>,
    pub direct: bool,
}

Fields

type: ProcessTypecommand: Stringargs: Vec<String>direct: bool

Implementations

impl Process[src]

pub fn new(
    type: impl AsRef<str>,
    command: impl Into<String>,
    args: impl IntoIterator<Item = impl Into<String>>,
    direct: bool
) -> Result<Self, Error>
[src]

Trait Implementations

impl Debug for Process[src]

impl Serialize for Process[src]

Auto Trait Implementations

impl RefUnwindSafe for Process

impl Send for Process

impl Sync for Process

impl Unpin for Process

impl UnwindSafe for Process

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, 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.