pub struct GatherOptions {
pub lines: bool,
pub json: bool,
}Expand description
Options for gather operation.
Fields§
§lines: bool--lines: emit each successful worker’s raw out in item order instead
of JSONL rows — and HARD-ERROR (exit 123, no partial text) if any worker
failed, since bare lines cannot represent a failure. The text escape
hatch that keeps the old line mode’s safety property.
json: bool--json (the kernel-wide flag; scatter/gather own their output, so it
reaches the tool): render the result records as ONE JSON array instead
of JSONL rows. Same records, same .data.
Trait Implementations§
Source§impl Clone for GatherOptions
impl Clone for GatherOptions
Source§fn clone(&self) -> GatherOptions
fn clone(&self) -> GatherOptions
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 GatherOptions
impl Debug for GatherOptions
Source§impl Default for GatherOptions
impl Default for GatherOptions
Source§fn default() -> GatherOptions
fn default() -> GatherOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GatherOptions
impl RefUnwindSafe for GatherOptions
impl Send for GatherOptions
impl Sync for GatherOptions
impl Unpin for GatherOptions
impl UnsafeUnpin for GatherOptions
impl UnwindSafe for GatherOptions
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.