pub struct StopSignal(/* private fields */);Expand description
The run’s stop as a source’s control plane sees it. It is set from the moment the stop begins until the drain begins, before the final commit.
A clone reads the same state. The default is never set.
Implementations§
Source§impl StopSignal
impl StopSignal
Trait Implementations§
Source§impl Clone for StopSignal
impl Clone for StopSignal
Source§impl Debug for StopSignal
impl Debug for StopSignal
Auto Trait Implementations§
impl Freeze for StopSignal
impl RefUnwindSafe for StopSignal
impl Send for StopSignal
impl Sync for StopSignal
impl Unpin for StopSignal
impl UnsafeUnpin for StopSignal
impl UnwindSafe for StopSignal
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