Skip to main content

DisabledExecutionEventSink

Struct DisabledExecutionEventSink 

Source
pub struct DisabledExecutionEventSink;

Trait Implementations§

Source§

impl Debug for DisabledExecutionEventSink

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DisabledExecutionEventSink

Source§

fn default() -> DisabledExecutionEventSink

Returns the “default value” for a type. Read more
Source§

impl ExecutionEventSink for DisabledExecutionEventSink

Source§

fn enablement(&self) -> ExecutionEventSinkEnablement

Resolves stable event enablement once when an emitter is constructed. Read more
Source§

fn is_enabled(&self, _kind: ExecutionEventKind) -> bool

Source§

fn record( &self, _permit: EventEmissionPermit, ) -> Result<(), ExecutionEventSinkError>

Source§

fn device_timing_mode(&self) -> DeviceTimingMode

Source§

fn capture_policy(&self) -> ExecutionEventCapturePolicy

Source§

fn capture_policy_for_request( &self, _origin: ExecutorRequestOrigin, ) -> ExecutionEventCapturePolicy

Source§

fn record_device_submission_attribution( &self, _attribution: &BoundDeviceSubmissionAttribution, ) -> Result<(), ExecutionEventSinkError>

Source§

fn record_physical_device_submission_timing( &self, _completion: &OperationCompletionReceipt, ) -> Result<(), ExecutionEventSinkError>

Source§

fn records_execution_resource_maintenance(&self) -> bool

Resource maintenance is a plan/batch event and therefore does not run through a per-request execution cursor. Sinks opt in explicitly so a disabled profile path performs no event construction or serialization.
Source§

fn record_execution_resource_maintenance( &self, _maintenance: BoundExecutionResourceMaintenance, ) -> Result<(), ExecutionEventSinkError>

Source§

fn record_batch( &self, permit: EventBatchEmissionPermit, ) -> Result<(), ExecutionEventSinkError>

Records one cursor-ordered batch. Sinks with a buffered transport should override this boundary; the default preserves compatibility and order.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V