Enum rustwide::cmd::CommandError [−][src]
Error happened while executing a command.
Variants (Non-exhaustive)
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.
ExecutionFailed(ExitStatus)
The command failed to execute.
KillAfterTimeoutFailed(KillFailedError)
Killing the underlying process after the timeout failed.
The sandbox ran out of memory and was killed.
SandboxImagePullFailed(Box<CommandError>)
Pulling a sandbox image from the registry failed
SandboxImageMissing(Box<CommandError>)
The sandbox image is missing from the local system.
Running rustwide inside a Docker container requires the workspace directory to be mounted from the host system. This error happens if that’s not true, for example if the workspace lives in a directory inside the container.
InvalidDockerInspectOutput(Error)
The data received from the docker inspect
command is not valid.
IO(Error)
An I/O error occured while executing the command.
Trait Implementations
impl Debug for CommandError
[src]
impl Display for CommandError
[src]
impl Error for CommandError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for CommandError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CommandError
impl Send for CommandError
impl Sync for CommandError
impl Unpin for CommandError
impl !UnwindSafe for CommandError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
pub fn name(&self) -> Option<&str>
[src]
pub fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,