Skip to main content

ZxResult

Type Alias ZxResult 

Source
pub type ZxResult = Result<ProcessOutput, ProcessOutput>;
Expand description

Result of awaiting a command: Ok on success (or with nothrow), Err with the same ProcessOutput otherwise.

Aliased Type§

pub enum ZxResult {
    Ok(ProcessOutput),
    Err(ProcessOutput),
}

Variants§

§1.0.0

Ok(ProcessOutput)

Contains the success value

§1.0.0

Err(ProcessOutput)

Contains the error value