Struct SubprocessError
pub struct SubprocessError { /* private fields */ }Expand description
The error recorded for a trial whose child process failed.
Wrapped in Error::Objective so it flows through the study loop like any
other objective failure; the message names the exit status and keeps a tail
of the child’s stderr. A caller can recover it by downcasting the boxed
source of an Error::Objective.
Implementations§
§impl SubprocessError
impl SubprocessError
Trait Implementations§
§impl Debug for SubprocessError
impl Debug for SubprocessError
§impl Display for SubprocessError
impl Display for SubprocessError
§impl Error for SubprocessError
impl Error for SubprocessError
1.30.0 · 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 Freeze for SubprocessError
impl RefUnwindSafe for SubprocessError
impl Send for SubprocessError
impl Sync for SubprocessError
impl Unpin for SubprocessError
impl UnsafeUnpin for SubprocessError
impl UnwindSafe for SubprocessError
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