pub struct AttemptOptions {
pub query_id: Option<String>,
pub trace_context: Option<String>,
pub deadline: Option<Instant>,
pub observation: RuntimeObservationConfig,
}Expand description
Inputs used to create an execution attempt before DataFusion planning.
Self::default enables bounded native observation using
RuntimeObservationConfig::NATIVE_EXECUTION_MAX_RECORDS and
RuntimeObservationConfig::NATIVE_EXECUTION_MAX_BYTES.
Fields§
§query_id: Option<String>Optional caller correlation copied into the terminal attempt report.
trace_context: Option<String>Optional opaque distributed-trace correlation copied into attempt observation and the terminal report.
deadline: Option<Instant>Invocation-owner deadline in the current process’s monotonic
Instant clock domain.
Represents local process monotonic time rather than wall-clock or wire timestamps. Invocations originating remotely must convert incoming deadlines prior to beginning the attempt.
observation: RuntimeObservationConfigQuery-local runtime observation retention policy.
Trait Implementations§
Source§impl Clone for AttemptOptions
impl Clone for AttemptOptions
Source§impl Debug for AttemptOptions
impl Debug for AttemptOptions
Auto Trait Implementations§
impl Freeze for AttemptOptions
impl RefUnwindSafe for AttemptOptions
impl Send for AttemptOptions
impl Sync for AttemptOptions
impl Unpin for AttemptOptions
impl UnsafeUnpin for AttemptOptions
impl UnwindSafe for AttemptOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request