pub enum StartupRunError {
BeforeClone(StartupError),
Child {
cause: StartupError,
status: ExitStatus,
},
Cleanup {
cause: StartupError,
errno: Errno,
},
}Expand description
A startup failure together with the actual owned-child cleanup outcome.
Variants§
BeforeClone(StartupError)
Failure before a child was successfully cloned.
Child
Failure after clone; the child was reaped with this actual status.
Fields
§
cause: StartupErrorOriginal startup or result failure.
§
status: ExitStatusActual status returned by waitpid, not an inferred success.
Cleanup
Cleanup itself failed; no terminal status is claimed.
Fields
§
cause: StartupErrorOriginal startup or result failure.
Trait Implementations§
Source§impl Debug for StartupRunError
impl Debug for StartupRunError
Source§impl Display for StartupRunError
impl Display for StartupRunError
impl Eq for StartupRunError
Source§impl Error for StartupRunError
impl Error for StartupRunError
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()
Source§impl PartialEq for StartupRunError
impl PartialEq for StartupRunError
impl StructuralPartialEq for StartupRunError
Auto Trait Implementations§
impl Freeze for StartupRunError
impl RefUnwindSafe for StartupRunError
impl Send for StartupRunError
impl Sync for StartupRunError
impl Unpin for StartupRunError
impl UnsafeUnpin for StartupRunError
impl UnwindSafe for StartupRunError
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