pub struct Lane {
pub profile: String,
pub slot: usize,
pub bars: Vec<TimelineBar>,
pub runners: Vec<RunnerSpan>,
}Expand description
One slot as it was: the profile and slot its runners had when they ran, whatever the config holds now.
Fields§
§profile: StringThe profile.
slot: usizeThe slot, 1-based.
bars: Vec<TimelineBar>Its jobs, by when they began, oldest first.
runners: Vec<RunnerSpan>Its runners’ containers, oldest first.
Implementations§
Source§impl Lane
impl Lane
Sourcepub fn gaps(&self, timeline: &SlotTimeline) -> Vec<Gap>
pub fn gaps(&self, timeline: &SlotTimeline) -> Vec<Gap>
Its stretches without a job in timeline’s window, each worded by core: no job only where runnerd was
watching and the history is whole; unknown where it was not watching, where a bar’s start or end is
unknown (until its runner was removed), and everywhere once the timeline left bars out (cut_before), since
one left out may have run in any lane. A bar’s wait before its start is not a job in the slot.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lane
impl<'de> Deserialize<'de> for Lane
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Lane
impl StructuralPartialEq for Lane
Auto Trait Implementations§
impl Forget for Lane
impl Freeze for Lane
impl Move for Lane
impl RefUnwindSafe for Lane
impl Send for Lane
impl Sync for Lane
impl Unpin for Lane
impl UnsafeUnpin for Lane
impl UnwindSafe for Lane
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.