pub struct StopVpSource { /* private fields */ }
Expand description
A source for StopVp
.
Implementations§
Source§impl StopVpSource
impl StopVpSource
Sourcepub fn stop(&self)
pub fn stop(&self)
Initiates a VP stop.
After this, calls to StopVp::check
or StopVp::until_stop
will
fail.
Sourcepub fn is_stopping(&self) -> bool
pub fn is_stopping(&self) -> bool
Returns whether Self::stop
has been called.
Auto Trait Implementations§
impl !Freeze for StopVpSource
impl !RefUnwindSafe for StopVpSource
impl Send for StopVpSource
impl !Sync for StopVpSource
impl Unpin for StopVpSource
impl UnwindSafe for StopVpSource
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