pub struct KeySearchCancellation(/* private fields */);Expand description
Cooperative cancellation shared with a running bounded search.
Implementations§
Source§impl KeySearchCancellation
impl KeySearchCancellation
Sourcepub fn is_cancelled(&self) -> bool
pub fn is_cancelled(&self) -> bool
Return whether cancellation has been requested.
Trait Implementations§
Source§impl Clone for KeySearchCancellation
impl Clone for KeySearchCancellation
Source§fn clone(&self) -> KeySearchCancellation
fn clone(&self) -> KeySearchCancellation
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 Debug for KeySearchCancellation
impl Debug for KeySearchCancellation
Source§impl Default for KeySearchCancellation
impl Default for KeySearchCancellation
Source§fn default() -> KeySearchCancellation
fn default() -> KeySearchCancellation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KeySearchCancellation
impl RefUnwindSafe for KeySearchCancellation
impl Send for KeySearchCancellation
impl Sync for KeySearchCancellation
impl Unpin for KeySearchCancellation
impl UnsafeUnpin for KeySearchCancellation
impl UnwindSafe for KeySearchCancellation
Blanket Implementations§
impl<T> Allocation for T
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