[][src]Enum rustwide::cmd::CommandError

pub enum CommandError {
    NoOutputFor(u64),
    Timeout(u64),
    SandboxOOM,
    // some variants omitted
}

Error happened while executing a command.

Variants

NoOutputFor(u64)

The command didn't output anything to stdout or stderr for more than the timeout, and it was killed. The timeout's value (in seconds) is the first value.

Timeout(u64)

The command took more time than the timeout to end, and it was killed. The timeout's value (in seconds) is the first value.

SandboxOOM

The sandbox ran out of memory and was killed.

Trait Implementations

impl Debug for CommandError[src]

impl Display for CommandError[src]

impl Fail for CommandError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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

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

impl<T> Erased for T

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

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

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

impl<T> ToString for T where
    T: Display + ?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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,