#[repr(u8)]pub enum TelemetryState {
Active = 0,
Closing = 1,
Closed = 2,
}Expand description
Current state of a telemetry handle’s runtime-owned lifecycle.
Variants§
Active = 0
The runtime accepts telemetry records.
Closing = 1
Shutdown has closed new telemetry admission while owned providers drain.
Closed = 2
Provider shutdown is complete; all handle operations are no-ops.
Trait Implementations§
Source§impl Clone for TelemetryState
impl Clone for TelemetryState
impl Copy for TelemetryState
Source§impl Debug for TelemetryState
impl Debug for TelemetryState
impl Eq for TelemetryState
Source§impl PartialEq for TelemetryState
impl PartialEq for TelemetryState
impl StructuralPartialEq for TelemetryState
Auto Trait Implementations§
impl Freeze for TelemetryState
impl RefUnwindSafe for TelemetryState
impl Send for TelemetryState
impl Sync for TelemetryState
impl Unpin for TelemetryState
impl UnsafeUnpin for TelemetryState
impl UnwindSafe for TelemetryState
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