pub struct NoOpTelemetry;Expand description
Zero-overhead telemetry (default). All methods are no-ops, so the compiler should eliminate all call sites completely.
Trait Implementations§
Source§impl Clone for NoOpTelemetry
impl Clone for NoOpTelemetry
Source§fn clone(&self) -> NoOpTelemetry
fn clone(&self) -> NoOpTelemetry
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 NoOpTelemetry
impl Debug for NoOpTelemetry
Source§impl Default for NoOpTelemetry
impl Default for NoOpTelemetry
Source§fn default() -> NoOpTelemetry
fn default() -> NoOpTelemetry
Returns the “default value” for a type. Read more
Source§impl Telemetry for NoOpTelemetry
impl Telemetry for NoOpTelemetry
Source§fn on_execution_start(&self, _graph_name: &str, _batch_size: usize)
fn on_execution_start(&self, _graph_name: &str, _batch_size: usize)
Called at the start of a graph execution.
Source§fn on_execution_end(&self, _graph_name: &str, _duration: Duration)
fn on_execution_end(&self, _graph_name: &str, _duration: Duration)
Called at the end of a graph execution.
Source§fn on_op_executed(&self, _op_name: &str, _duration: Duration)
fn on_op_executed(&self, _op_name: &str, _duration: Duration)
Per-operator latency.
Source§fn on_batch_formed(&self, _size: usize, _wait_us: u64)
fn on_batch_formed(&self, _size: usize, _wait_us: u64)
Batch formed.
Source§fn on_request_queued(&self)
fn on_request_queued(&self)
Request queued.
Source§fn on_request_completed(&self, _latency_us: u64)
fn on_request_completed(&self, _latency_us: u64)
Request completed.
impl Copy for NoOpTelemetry
Auto Trait Implementations§
impl Freeze for NoOpTelemetry
impl RefUnwindSafe for NoOpTelemetry
impl Send for NoOpTelemetry
impl Sync for NoOpTelemetry
impl Unpin for NoOpTelemetry
impl UnsafeUnpin for NoOpTelemetry
impl UnwindSafe for NoOpTelemetry
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