pub struct DestinationStateSnapshot {
pub up: bool,
pub last_status: StatusCode,
pub metrics: Option<LinkMetrics>,
}Fields§
§up: bool§last_status: StatusCodeLast status the FSM saw for this destination. SUCCESS on Up;
the inbound reason on Down.
metrics: Option<LinkMetrics>Wire-reported link metrics. Some(_) on Up; None on Down
(RFC 8175’s Destination_Down carries no metric Data Items).
Extensions that want richer per-destination context (addresses,
subnets) should subscribe to DaemonEvent::Destination directly.
Trait Implementations§
Source§impl Clone for DestinationStateSnapshot
impl Clone for DestinationStateSnapshot
impl Copy for DestinationStateSnapshot
Auto Trait Implementations§
impl Freeze for DestinationStateSnapshot
impl RefUnwindSafe for DestinationStateSnapshot
impl Send for DestinationStateSnapshot
impl Sync for DestinationStateSnapshot
impl Unpin for DestinationStateSnapshot
impl UnsafeUnpin for DestinationStateSnapshot
impl UnwindSafe for DestinationStateSnapshot
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