pub enum TelemetryMode {
Disabled,
InMemory,
OtlpHttpJson,
}Expand description
Runtime mode. Disabled is the default and owns no heap state.
Variants§
Disabled
No worker, timer, DNS, socket, or record allocation.
InMemory
Deterministic snapshots for tests and embedding validation.
OtlpHttpJson
OTLP/HTTP JSON export to an explicitly supplied endpoint.
Trait Implementations§
Source§impl Clone for TelemetryMode
impl Clone for TelemetryMode
impl Copy for TelemetryMode
Source§impl Debug for TelemetryMode
impl Debug for TelemetryMode
Source§impl Default for TelemetryMode
impl Default for TelemetryMode
impl Eq for TelemetryMode
Source§impl PartialEq for TelemetryMode
impl PartialEq for TelemetryMode
Source§impl Serialize for TelemetryMode
impl Serialize for TelemetryMode
impl StructuralPartialEq for TelemetryMode
Auto Trait Implementations§
impl Freeze for TelemetryMode
impl RefUnwindSafe for TelemetryMode
impl Send for TelemetryMode
impl Sync for TelemetryMode
impl Unpin for TelemetryMode
impl UnsafeUnpin for TelemetryMode
impl UnwindSafe for TelemetryMode
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