pub struct ScriptStatsSnapshot {
pub mean_ms: f64,
pub p95_ms: f64,
pub max_ms: f64,
pub window_polls: u64,
pub total_polls: u64,
pub productive_polls: u64,
pub spent_ms: f64,
}Expand description
Mean, 95th percentile and worst case for the retained polls, in milliseconds.
Fields§
§mean_ms: f64§p95_ms: f64§max_ms: f64§window_polls: u64Polls that ran script, out of the retained window.
total_polls: u64Every poll since launch.
productive_polls: u64Polls that ran script since launch.
spent_ms: f64Total time in the script runtime since launch, in milliseconds.
Trait Implementations§
Source§impl Clone for ScriptStatsSnapshot
impl Clone for ScriptStatsSnapshot
impl Copy for ScriptStatsSnapshot
Source§impl Debug for ScriptStatsSnapshot
impl Debug for ScriptStatsSnapshot
Source§impl PartialEq for ScriptStatsSnapshot
impl PartialEq for ScriptStatsSnapshot
impl StructuralPartialEq for ScriptStatsSnapshot
Auto Trait Implementations§
impl Forget for ScriptStatsSnapshot
impl Freeze for ScriptStatsSnapshot
impl Move for ScriptStatsSnapshot
impl RefUnwindSafe for ScriptStatsSnapshot
impl Send for ScriptStatsSnapshot
impl Sync for ScriptStatsSnapshot
impl Unpin for ScriptStatsSnapshot
impl UnsafeUnpin for ScriptStatsSnapshot
impl UnwindSafe for ScriptStatsSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert