pub struct ProjectSearchBatchReady {
pub view: BufferId,
pub files: Vec<FileHits>,
pub context_lines: u32,
}Fields§
§view: BufferId§files: Vec<FileHits>§context_lines: u32K.4.6 follow-up (2026-06-02): per-batch context-lines
value resolved from search.context_size at scan
dispatch time. The forwarder reads this off each batch
(it isn’t part of the forwarder’s persistent state)
because the forwarder runs in the mode’s activation
scope, not the scan’s. Mirroring the option onto each
batch is cheaper than wiring a side channel for one
u32 and keeps each batch self-describing.
Trait Implementations§
Source§impl Clone for ProjectSearchBatchReady
impl Clone for ProjectSearchBatchReady
Source§fn clone(&self) -> ProjectSearchBatchReady
fn clone(&self) -> ProjectSearchBatchReady
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 ProjectSearchBatchReady
impl Debug for ProjectSearchBatchReady
Source§impl Event for ProjectSearchBatchReady
impl Event for ProjectSearchBatchReady
Source§fn event_type_id(&self) -> EventTypeId
fn event_type_id(&self) -> EventTypeId
The type-id under which this event is registered.
Implementors typically delegate to a
static to avoid
re-allocating the metadata on every call. The macro
register_event! generates this for you.Auto Trait Implementations§
impl Freeze for ProjectSearchBatchReady
impl RefUnwindSafe for ProjectSearchBatchReady
impl Send for ProjectSearchBatchReady
impl Sync for ProjectSearchBatchReady
impl Unpin for ProjectSearchBatchReady
impl UnsafeUnpin for ProjectSearchBatchReady
impl UnwindSafe for ProjectSearchBatchReady
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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