pub struct Link {
pub blocks: Vec<Box<dyn Block>>,
pub kinds: Vec<String>,
pub labels: Vec<String>,
pub metrics: Metrics,
pub profile: bool,
}Expand description
The link of one condition: its blocks and its metrics.
Fields§
§blocks: Vec<Box<dyn Block>>The blocks, in order.
kinds: Vec<String>The type of every block (the context of its errors).
labels: Vec<String>The label of every block (its label, else its type; a repeated label takes
the position of the block, awgn_3), the names of the profile.
metrics: MetricsThe metrics.
profile: boolTime every block: the trial records <label>.time_ms for every block and
link.time_ms for the whole link (the metrics excluded), reported as means.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Link
impl !UnwindSafe for Link
impl Freeze for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
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> 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