pub struct AttemptPeak {
pub attempt_id: String,
pub run_id: String,
pub map_index: Option<u32>,
pub try_number: u32,
pub status: String,
pub peak_memory_bytes: Option<u64>,
pub ended_at: Timestamp,
}Expand description
An ended attempt’s peak memory.
Fields§
§attempt_id: StringThe attempt.
run_id: StringIts run.
map_index: Option<u32>Its instance of a mapped task; none for a task that isn’t mapped.
try_number: u32Its try.
status: StringHow it ended (success, oom_killed, …).
peak_memory_bytes: Option<u64>Its peak memory, in bytes; none when it wasn’t read (an attempt lost with its worker).
ended_at: TimestampWhen it ended.
Trait Implementations§
Source§impl Clone for AttemptPeak
impl Clone for AttemptPeak
Source§fn clone(&self) -> AttemptPeak
fn clone(&self) -> AttemptPeak
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttemptPeak
impl Debug for AttemptPeak
impl Eq for AttemptPeak
Source§impl PartialEq for AttemptPeak
impl PartialEq for AttemptPeak
impl StructuralPartialEq for AttemptPeak
Auto Trait Implementations§
impl Freeze for AttemptPeak
impl RefUnwindSafe for AttemptPeak
impl Send for AttemptPeak
impl Sync for AttemptPeak
impl Unpin for AttemptPeak
impl UnsafeUnpin for AttemptPeak
impl UnwindSafe for AttemptPeak
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 more