pub struct Child {
pub sub: Subagent,
pub kind: ChildKind,
pub started: Instant,
pub liveness: Liveness,
pub cancelled: bool,
pub tokens: u64,
pub settled: bool,
}Expand description
One live child.
Fields§
§sub: Subagent§kind: ChildKind§started: Instant§liveness: Liveness§cancelled: bool§tokens: u64§settled: boolWhether this child’s unit has been settled — a terminal frame
(TurnDone / Failed) was folded back into the durable state. The
reap path needs the answer after the record has left the table (see
Children::is_settled): the child’s mere presence cannot give it,
because a settled worker also stays in the table until it is reaped.
Auto Trait Implementations§
impl !RefUnwindSafe for Child
impl !UnwindSafe for Child
impl Freeze for Child
impl Send for Child
impl Sync for Child
impl Unpin for Child
impl UnsafeUnpin for Child
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