pub struct ManagedTargetOutcome {
pub target: TargetInstance,
pub server_addr: Arc<str>,
pub remote: Option<SocketAddr>,
pub end_reason: ManagedTargetEndReason,
pub packets_sent: u64,
pub replies_received: u64,
pub duplicates: u64,
pub late: u64,
pub warning_events: u64,
pub cleanup_failure: Option<ManagedTargetFailure>,
}Expand description
Durable outcome for one target generation.
These counters are durable: unlike ManagedEvent, which is a lossy
presentation stream, they account for everything the target observed.
Fields§
§target: TargetInstance§server_addr: Arc<str>§remote: Option<SocketAddr>§end_reason: ManagedTargetEndReason§packets_sent: u64Probes the underlying client reported as sent.
replies_received: u64Unique echo replies that arrived in order and before their probe timed out.
A unique reply that arrives behind an already-received sequence, or
after its own probe timed out, is counted by late instead.
duplicates: u64Replies for a sequence that had already been answered.
late: u64Late replies: those arriving behind an already-received sequence (reordering) or after their own probe timed out.
This counts every late reply, whether or not the client could still match it to retained send state.
warning_events: u64Warning events observed for this target.
cleanup_failure: Option<ManagedTargetFailure>Trait Implementations§
Source§impl Clone for ManagedTargetOutcome
impl Clone for ManagedTargetOutcome
Source§impl Debug for ManagedTargetOutcome
impl Debug for ManagedTargetOutcome
impl Eq for ManagedTargetOutcome
Source§impl PartialEq for ManagedTargetOutcome
impl PartialEq for ManagedTargetOutcome
impl StructuralPartialEq for ManagedTargetOutcome
Auto Trait Implementations§
impl Freeze for ManagedTargetOutcome
impl RefUnwindSafe for ManagedTargetOutcome
impl Send for ManagedTargetOutcome
impl Sync for ManagedTargetOutcome
impl Unpin for ManagedTargetOutcome
impl UnsafeUnpin for ManagedTargetOutcome
impl UnwindSafe for ManagedTargetOutcome
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