#[non_exhaustive]pub enum EngineExecError {
Refused(String),
TimedOut(Duration),
Failed(ExecError),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Refused(String)
Not started: the admission refused it, or it has to be sandboxed and the sandbox cannot hold it.
TimedOut(Duration)
Failed(ExecError)
Trait Implementations§
Source§impl Clone for EngineExecError
impl Clone for EngineExecError
Source§impl Debug for EngineExecError
impl Debug for EngineExecError
Source§impl Display for EngineExecError
impl Display for EngineExecError
Source§impl Error for EngineExecError
impl Error for EngineExecError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Forget for EngineExecError
impl Freeze for EngineExecError
impl Move for EngineExecError
impl RefUnwindSafe for EngineExecError
impl Send for EngineExecError
impl Sync for EngineExecError
impl Unpin for EngineExecError
impl UnsafeUnpin for EngineExecError
impl UnwindSafe for EngineExecError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more