pub struct OpId(pub u64);Expand description
Identifies an in-flight operation.
OpId provides a unique identifier for asynchronous operations across the
system. It is used to:
- Track index operations (search, add, remove, train)
- Correlate distributed search operations across the network
- Enable progress tracking and cancellation
The ID is unique within the lifetime of the component that issued it and can be used to correlate log messages, metrics, or external tracking with a specific operation.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for OpId
impl Eq for OpId
impl StructuralPartialEq for OpId
Auto Trait Implementations§
impl Freeze for OpId
impl RefUnwindSafe for OpId
impl Send for OpId
impl Sync for OpId
impl Unpin for OpId
impl UnsafeUnpin for OpId
impl UnwindSafe for OpId
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.