pub struct ProxyStatus {
pub name: String,
pub listen_port: u16,
pub backend: String,
pub allow_remote: bool,
pub cert_source: String,
pub state: String,
pub error: Option<String>,
}Expand description
Runtime status of a single proxy listener.
state/error reflect the listener task’s real liveness (bind/accept outcome),
and cert_source records which certificate the listener is serving. This
replaces the old hardcoded running: true.
Fields§
§name: String§listen_port: u16§backend: String§allow_remote: bool§cert_source: String“certmesh” (cert file found on disk) or “self-signed” (generated fallback).
state: String“starting” | “running” | “error” | “stopped”.
error: Option<String>Error detail, present only when state == "error".
Trait Implementations§
Source§impl Clone for ProxyStatus
impl Clone for ProxyStatus
Source§fn clone(&self) -> ProxyStatus
fn clone(&self) -> ProxyStatus
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 moreSource§impl ComposeSchema for ProxyStatus
impl ComposeSchema for ProxyStatus
Source§impl Debug for ProxyStatus
impl Debug for ProxyStatus
Source§impl Serialize for ProxyStatus
impl Serialize for ProxyStatus
Auto Trait Implementations§
impl Freeze for ProxyStatus
impl RefUnwindSafe for ProxyStatus
impl Send for ProxyStatus
impl Sync for ProxyStatus
impl Unpin for ProxyStatus
impl UnsafeUnpin for ProxyStatus
impl UnwindSafe for ProxyStatus
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