pub enum Termination {
Terminated,
AlreadyGone,
RefusedPidRecycled {
current: ProcessIdentity,
},
}Expand description
The outcome of asking a recorded process to stop.
Variants§
Terminated
The process was signalled and is no longer running.
AlreadyGone
It had already exited; nothing to do.
RefusedPidRecycled
The PID belongs to a different process now, so nothing was signalled.
The refusal is the feature. See Adoption::PidRecycled.
Fields
§
current: ProcessIdentityWhoever holds the PID now.
Trait Implementations§
Source§impl Clone for Termination
impl Clone for Termination
Source§fn clone(&self) -> Termination
fn clone(&self) -> Termination
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 moreSource§impl Debug for Termination
impl Debug for Termination
impl Eq for Termination
Source§impl PartialEq for Termination
impl PartialEq for Termination
impl StructuralPartialEq for Termination
Auto Trait Implementations§
impl Freeze for Termination
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnsafeUnpin for Termination
impl UnwindSafe for Termination
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