pub struct SearchHandleState {
pub state: Mutex<SearchState>,
pub cancel: AtomicBool,
}Expand description
A search handle’s shared state plus its cancellation flag. Owned by an
Arc so producers (host searcher tasks) and consumers (the JS plugin via
the registry) can both reference it.
Fields§
§state: Mutex<SearchState>§cancel: AtomicBoolImplementations§
Trait Implementations§
Source§impl Debug for SearchHandleState
impl Debug for SearchHandleState
Auto Trait Implementations§
impl !Freeze for SearchHandleState
impl RefUnwindSafe for SearchHandleState
impl Send for SearchHandleState
impl Sync for SearchHandleState
impl Unpin for SearchHandleState
impl UnsafeUnpin for SearchHandleState
impl UnwindSafe for SearchHandleState
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