pub struct Escalation {
pub node: String,
pub item: Option<usize>,
pub reason: String,
pub input: Option<Value>,
pub drained_at: Option<String>,
pub at: String,
}Expand description
One thing a job gave up on after its recovery ladder was exhausted.
Carries enough for a session that wasn’t there when it happened to act: which node, which item if any, and why. A list of job ids would only be a second hunt.
Fields§
§node: StringThe node that gave up.
item: Option<usize>Which fan-out item, or None for a whole node.
reason: StringThe failure that exhausted the ladder.
input: Option<Value>What this item was working on, so it can be handed back as a
manifest line. None for a row written before inputs were recorded
— such an escalation cannot be drained, and callers must say so
rather than silently emitting one fewer line than they listed.
drained_at: Option<String>When this was exported by a drain, or None while outstanding.
at: StringWhen it was recorded.
Trait Implementations§
Source§impl Clone for Escalation
impl Clone for Escalation
Source§fn clone(&self) -> Escalation
fn clone(&self) -> Escalation
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 Escalation
impl Debug for Escalation
impl Eq for Escalation
Source§impl PartialEq for Escalation
impl PartialEq for Escalation
Source§impl Serialize for Escalation
impl Serialize for Escalation
impl StructuralPartialEq for Escalation
Auto Trait Implementations§
impl Freeze for Escalation
impl RefUnwindSafe for Escalation
impl Send for Escalation
impl Sync for Escalation
impl Unpin for Escalation
impl UnsafeUnpin for Escalation
impl UnwindSafe for Escalation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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