pub struct ProcessExit { /* private fields */ }Expand description
How a process this VFS did not spawn ended.
Weaker than ProcessStatus, which describes a
child. Only Windows can report an exit code for an arbitrary process;
waitid(P_PIDFD) and EVFILT_PROC’s NOTE_EXITSTATUS are both restricted
to the parent, so a Unix target can report only that the process is gone.
The type is the same on every platform rather than being absent on Unix, so
that portable code does not have to branch on the target OS to call
Process::wait.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessExit
impl Clone for ProcessExit
Source§fn clone(&self) -> ProcessExit
fn clone(&self) -> ProcessExit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessExit
Source§impl Debug for ProcessExit
impl Debug for ProcessExit
Source§impl<'de> Deserialize<'de> for ProcessExit
impl<'de> Deserialize<'de> for ProcessExit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcessExit
Source§impl PartialEq for ProcessExit
impl PartialEq for ProcessExit
Source§impl Serialize for ProcessExit
impl Serialize for ProcessExit
impl StructuralPartialEq for ProcessExit
Auto Trait Implementations§
impl Freeze for ProcessExit
impl RefUnwindSafe for ProcessExit
impl Send for ProcessExit
impl Sync for ProcessExit
impl Unpin for ProcessExit
impl UnsafeUnpin for ProcessExit
impl UnwindSafe for ProcessExit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more