pub struct ManagedStatus {Show 18 fields
pub lifecycle: ManagedLifecycle,
pub stop_requested: bool,
pub applied_command_sequence: u64,
pub desired_target_count: usize,
pub connecting_target_count: usize,
pub opening_target_count: usize,
pub active_target_count: usize,
pub draining_target_count: usize,
pub closing_target_count: usize,
pub terminal_target_count: usize,
pub total_target_outcomes: u64,
pub successful_target_outcomes: u64,
pub failed_target_outcomes: u64,
pub peer_closed_target_outcomes: u64,
pub discarded_target_outcomes: u64,
pub targets: Arc<[ManagedTargetStatus]>,
pub recent_target_outcomes: Arc<[ManagedTargetOutcome]>,
pub final_outcome: Option<Arc<ManagedOutcome>>,
}Expand description
Authoritative immutable managed status snapshot.
Fields§
§lifecycle: ManagedLifecycle§stop_requested: boolWhether the task durably observed an explicit stop request.
This remains false until the task observes the request latch. Natural stopping and terminality alone do not imply a stop request was observed.
applied_command_sequence: u64§desired_target_count: usize§connecting_target_count: usize§opening_target_count: usize§active_target_count: usize§draining_target_count: usize§closing_target_count: usize§terminal_target_count: usize§total_target_outcomes: u64§successful_target_outcomes: u64§failed_target_outcomes: u64§peer_closed_target_outcomes: u64§discarded_target_outcomes: u64§targets: Arc<[ManagedTargetStatus]>§recent_target_outcomes: Arc<[ManagedTargetOutcome]>§final_outcome: Option<Arc<ManagedOutcome>>Authoritative final accounting, present if and only if lifecycle is
ManagedLifecycle::Completed or ManagedLifecycle::Failed.
Shares the terminal task phase’s outcome with ManagedEvent::Completed
or ManagedEvent::Failed. Abandoned deliberately has no outcome.
Trait Implementations§
Source§impl Clone for ManagedStatus
impl Clone for ManagedStatus
Source§impl Debug for ManagedStatus
impl Debug for ManagedStatus
impl Eq for ManagedStatus
Source§impl PartialEq for ManagedStatus
impl PartialEq for ManagedStatus
impl StructuralPartialEq for ManagedStatus
Auto Trait Implementations§
impl Freeze for ManagedStatus
impl RefUnwindSafe for ManagedStatus
impl Send for ManagedStatus
impl Sync for ManagedStatus
impl Unpin for ManagedStatus
impl UnsafeUnpin for ManagedStatus
impl UnwindSafe for ManagedStatus
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