pub struct Ran {Show 18 fields
pub repository: String,
pub workflow: Option<String>,
pub name: String,
pub profile: String,
pub memory_cap: Option<u64>,
pub cpu_cap: Option<u64>,
pub memory_peak: u64,
pub cpu_peak: u64,
pub cpu_average: Option<u64>,
pub queued_at: u64,
pub started_at: Option<u64>,
pub runner_started_at: u64,
pub finished_at: Option<u64>,
pub oom_killed: bool,
pub hit_cap: Option<bool>,
pub measure: Measure,
pub succeeded: bool,
pub reserved: Option<u64>,
}Expand description
One finished job of this daemon’s runners, as sizing reads it. Times in milliseconds.
Fields§
§repository: Stringowner/name.
workflow: Option<String>The workflow’s name, when known.
name: StringThe job’s name.
profile: StringThe profile its runner ran in.
memory_cap: Option<u64>Its container’s memory cap, when recorded.
cpu_cap: Option<u64>Its container’s CPU cap, millicores, when recorded.
memory_peak: u64Its sampled memory peak, bytes, as measure counts memory.
cpu_peak: u64Its sampled CPU peak, millicores.
cpu_average: Option<u64>Its CPU time over its run time, millicores; None when not recorded.
queued_at: u64When it was queued.
started_at: Option<u64>When it started; None for a job lost before.
runner_started_at: u64When its runner’s container started: before queued_at, it was a warm runner.
finished_at: Option<u64>When it finished, or was found lost.
oom_killed: boolWhether the kernel killed a process in its container for memory.
hit_cap: Option<bool>Whether its container’s memory reached a limit with nothing left to reclaim (memory.events oom); None
when its events were not recorded.
measure: MeasureWhat its sampled memory counts.
succeeded: boolWhether it completed with success: a failed or lost run may have stopped before its heaviest step.
reserved: Option<u64>What measured admission reserved for it; None under caps or for an adopted runner.
Implementations§
Trait Implementations§
impl Eq for Ran
impl StructuralPartialEq for Ran
Auto Trait Implementations§
impl Freeze for Ran
impl RefUnwindSafe for Ran
impl Send for Ran
impl Sync for Ran
impl Unpin for Ran
impl UnsafeUnpin for Ran
impl UnwindSafe for Ran
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.