pub struct RunCancelled(/* private fields */);
Expand description
Error returned when a VP run is cancelled.
Implementations§
Source§impl RunCancelled
impl RunCancelled
Sourcepub fn is_user_cancelled(&self) -> bool
pub fn is_user_cancelled(&self) -> bool
Returns true
if the run was cancelled by the user, or false
if it was
cancelled by the VP itself.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunCancelled
impl RefUnwindSafe for RunCancelled
impl Send for RunCancelled
impl Sync for RunCancelled
impl Unpin for RunCancelled
impl UnwindSafe for RunCancelled
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