pub struct BackgroundProcessStop { /* private fields */ }Expand description
Result of asking a retained process to stop.
Implementations§
Source§impl BackgroundProcessStop
impl BackgroundProcessStop
Sourcepub fn new(summary: BackgroundProcessSummary, changed: bool) -> Self
pub fn new(summary: BackgroundProcessSummary, changed: bool) -> Self
Creates a stop result.
changed is true only when this call moved a running process to killed.
Sourcepub fn summary(&self) -> &BackgroundProcessSummary
pub fn summary(&self) -> &BackgroundProcessSummary
Returns the process row after the stop attempt.
Trait Implementations§
Source§impl Clone for BackgroundProcessStop
impl Clone for BackgroundProcessStop
Source§impl Debug for BackgroundProcessStop
impl Debug for BackgroundProcessStop
impl Eq for BackgroundProcessStop
Source§impl PartialEq for BackgroundProcessStop
impl PartialEq for BackgroundProcessStop
impl StructuralPartialEq for BackgroundProcessStop
Auto Trait Implementations§
impl Forget for BackgroundProcessStop
impl Freeze for BackgroundProcessStop
impl Move for BackgroundProcessStop
impl RefUnwindSafe for BackgroundProcessStop
impl Send for BackgroundProcessStopwhere
RawVecInner: Send,
impl Sync for BackgroundProcessStopwhere
RawVecInner: Sync,
impl Unpin for BackgroundProcessStop
impl UnsafeUnpin for BackgroundProcessStop
impl UnwindSafe for BackgroundProcessStopwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.