pub struct PortStatus {
pub listen: String,
pub target: u16,
pub backends: Vec<String>,
pub error: Option<String>,
pub accepted: u64,
pub active: usize,
pub rate_history: Vec<f32>,
}Expand description
A published port: TCP served by the balancer, UDP by a NAT proxy on the
replica (listen ends in /udp, backends is the replica).
Fields§
§listen: String§target: u16§backends: Vec<String>§error: Option<String>§accepted: u64Connections accepted since the daemon started, and per second lately.
active: usize§rate_history: Vec<f32>Trait Implementations§
Source§impl Clone for PortStatus
impl Clone for PortStatus
Source§impl Debug for PortStatus
impl Debug for PortStatus
Auto Trait Implementations§
impl Freeze for PortStatus
impl RefUnwindSafe for PortStatus
impl Send for PortStatus
impl Sync for PortStatus
impl Unpin for PortStatus
impl UnsafeUnpin for PortStatus
impl UnwindSafe for PortStatus
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