pub struct LiveRun {
pub run: RunId,
pub governed_by: Option<AgentIdentity>,
pub subject: Option<String>,
pub stranded: bool,
}Expand description
One run this tenant currently holds an admission slot for.
What Runtime::running_runs answers with. The ids alone would be a listing
an operator reads out; the attribution is what makes it one they can act on.
Fields§
§run: RunId§governed_by: Option<AgentIdentity>The declared agent governing it, when a declared one does.
None for a skill registered directly on the plane — a legitimate shape,
and one an incident about a bad revision can therefore rule out.
subject: Option<String>Who this run acts for: the root of the delegation chain bound at admission, when the caller presented one.
stranded: boolThe slot is held by a run whose lease has lapsed, so no process is executing it.
Not a cancellation candidate: the recovery sweep resumes these, and cancelling one unwinds work that was about to continue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiveRun
impl RefUnwindSafe for LiveRun
impl Send for LiveRun
impl Sync for LiveRun
impl Unpin for LiveRun
impl UnsafeUnpin for LiveRun
impl UnwindSafe for LiveRun
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<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 moreCreates a shared type from an unshared type.