pub struct StopOutcome { /* private fields */ }Expand description
Result of a valid STOP request.
Implementations§
Source§impl StopOutcome
impl StopOutcome
Sourcepub fn status(&self) -> StopStatus
pub fn status(&self) -> StopStatus
Indicates whether this request won the first-STOP race.
Sourcepub fn record(&self) -> &StopRecord
pub fn record(&self) -> &StopRecord
Returns the canonical first STOP record.
For an already-stopped signal, this is the original record rather than the actor and reason from the later request.
Trait Implementations§
Source§impl Clone for StopOutcome
impl Clone for StopOutcome
Source§impl Debug for StopOutcome
impl Debug for StopOutcome
impl Eq for StopOutcome
Source§impl PartialEq for StopOutcome
impl PartialEq for StopOutcome
impl StructuralPartialEq for StopOutcome
Auto Trait Implementations§
impl Freeze for StopOutcome
impl RefUnwindSafe for StopOutcome
impl Send for StopOutcome
impl Sync for StopOutcome
impl Unpin for StopOutcome
impl UnsafeUnpin for StopOutcome
impl UnwindSafe for StopOutcome
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