pub struct Halt {
pub scope: HaltScope,
pub reason: String,
pub by: Operator,
pub at: Timestamp,
}Expand description
One standing emergency stop.
The runtime cannot check this instruction — there is no verdict to re-derive
and no policy that authorized the judgement — so its whole evidentiary weight
is the name beside it, and Operator carries what established that name.
Who lifted one is not kept. Lifting removes the row; retaining lifted
rows would be a listing that grows with nothing to empty it. Where the stop
reached a running run, AuthorityWithheld holds the operator from this row.
Fields§
§scope: HaltScope§reason: StringWhy. Required when halting, because the next person to look will be somebody else, possibly at three in the morning, and why is the whole question.
by: OperatorWho threw it, and what established the name.
at: TimestampWhen it was thrown. Supplied by the caller, never read from a clock here, for the reason every other lifecycle instant in this crate is: a pass that reads its own clock cannot be tested against an ageing plane.
Trait Implementations§
impl Eq for Halt
impl StructuralPartialEq for Halt
Auto Trait Implementations§
impl Freeze for Halt
impl RefUnwindSafe for Halt
impl Send for Halt
impl Sync for Halt
impl Unpin for Halt
impl UnsafeUnpin for Halt
impl UnwindSafe for Halt
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
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
key and return true if they are equal.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> ⓘ
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> ⓘ
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