Enum marid::ProcessError [] [src]

pub enum ProcessError<E> {
    RunnerError(E),
    ResultAlreadyGiven,
    CouldNotRecvResult,
}

Error type for a running Process.

Variants

RunnerError

The associated runner returned an error which can be found as the enclosed argument.

ResultAlreadyGiven

The associated result has already been received by a caller.

This occurs when calling wait or ready more than once.

CouldNotRecvResult

The process was not able to recieve a result from the runner. Something has gone wrong on the runner's thread.

Trait Implementations

impl<E: Error> Display for ProcessError<E>

fn fmt(&self, fmt: &mut Formatter) -> Result

impl<E: Error> Error for ProcessError<E>

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl<E: Error> From<E> for ProcessError<E>

fn from(err: E) -> ProcessError<E>

Derived Implementations

impl<E: Clone> Clone for ProcessError<E>

fn clone(&self) -> ProcessError<E>

fn clone_from(&mut self, source: &Self)

impl<E: PartialEq> PartialEq for ProcessError<E>

fn eq(&self, __arg_0: &ProcessError<E>) -> bool

fn ne(&self, __arg_0: &ProcessError<E>) -> bool

impl<E: Eq> Eq for ProcessError<E>

impl<E: Debug> Debug for ProcessError<E>

fn fmt(&self, __arg_0: &mut Formatter) -> Result