pub struct AnalysisControl(/* private fields */);Expand description
Cooperative cancellation shared with the caller.
Implementations§
Source§impl AnalysisControl
impl AnalysisControl
pub fn cancel(&self)
pub fn is_cancelled(&self) -> bool
Trait Implementations§
Source§impl Clone for AnalysisControl
impl Clone for AnalysisControl
Source§fn clone(&self) -> AnalysisControl
fn clone(&self) -> AnalysisControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AnalysisControl
impl Default for AnalysisControl
Source§fn default() -> AnalysisControl
fn default() -> AnalysisControl
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisControl
impl RefUnwindSafe for AnalysisControl
impl Send for AnalysisControl
impl Sync for AnalysisControl
impl Unpin for AnalysisControl
impl UnsafeUnpin for AnalysisControl
impl UnwindSafe for AnalysisControl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more