pub struct ServiceStatus {
pub generation: u64,
pub readiness: bool,
pub active_connections: u64,
pub uptime_secs: u64,
pub listener_count: usize,
pub listeners: Vec<ListenerStatus>,
pub udp_associations_active: u64,
pub upstream_count: usize,
}Expand description
Current service status.
Fields§
§generation: u64Current configuration generation (increments on reload).
readiness: boolWhether the service is ready to accept connections.
active_connections: u64Number of active connections.
uptime_secs: u64Uptime in seconds since the service started.
listener_count: usizeNumber of configured listeners.
listeners: Vec<ListenerStatus>Detailed status for each listener.
udp_associations_active: u64Number of active UDP associations.
upstream_count: usizeNumber of configured upstreams.
Trait Implementations§
Source§impl Clone for ServiceStatus
impl Clone for ServiceStatus
Source§fn clone(&self) -> ServiceStatus
fn clone(&self) -> ServiceStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServiceStatus
impl RefUnwindSafe for ServiceStatus
impl Send for ServiceStatus
impl Sync for ServiceStatus
impl Unpin for ServiceStatus
impl UnsafeUnpin for ServiceStatus
impl UnwindSafe for ServiceStatus
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