pub struct TelemetryAlert {
pub severity: AlertSeverity,
pub alert_type: AlertType,
pub message: String,
pub kernel_id: Option<KernelId>,
pub timestamp: Instant,
}Expand description
An alert when telemetry thresholds are exceeded.
Fields§
§severity: AlertSeverityAlert severity.
alert_type: AlertTypeAlert type.
message: StringHuman-readable message.
kernel_id: Option<KernelId>Related kernel (if applicable).
timestamp: InstantTimestamp when alert was generated.
Trait Implementations§
Source§impl Clone for TelemetryAlert
impl Clone for TelemetryAlert
Source§fn clone(&self) -> TelemetryAlert
fn clone(&self) -> TelemetryAlert
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TelemetryAlert
impl RefUnwindSafe for TelemetryAlert
impl Send for TelemetryAlert
impl Sync for TelemetryAlert
impl Unpin for TelemetryAlert
impl UnwindSafe for TelemetryAlert
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.