pub struct Throttle {
pub record_id: Option<RecordId>,
pub time: u64,
pub id: u64,
pub stream_id: u64,
}
Expand description
Sampling has been throttled.
This record indicates that the maximum sampling rate has been reached, and kernel will correct the sampling rate to avoid exceeding the limit.
See also SampleOn
.
Fields§
§record_id: Option<RecordId>
Record IDs.
time: u64
Timestamp.
id: u64
Event ID.
stream_id: u64
Event stream ID.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Throttle
impl RefUnwindSafe for Throttle
impl Send for Throttle
impl Sync for Throttle
impl Unpin for Throttle
impl UnwindSafe for Throttle
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