pub struct ListenerStatus {
pub name: String,
pub bind: String,
pub local_addr: SocketAddr,
pub protocols: Vec<String>,
pub udp_enabled: bool,
}Expand description
Detailed status of a single listener.
Fields§
§name: StringListener name from config.
bind: StringConfigured bind address.
local_addr: SocketAddrActual bound socket address (reflects port-0 resolution).
protocols: Vec<String>Protocols served by this listener.
udp_enabled: boolWhether UDP relay is enabled on this listener.
Trait Implementations§
Source§impl Clone for ListenerStatus
impl Clone for ListenerStatus
Source§fn clone(&self) -> ListenerStatus
fn clone(&self) -> ListenerStatus
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 ListenerStatus
impl RefUnwindSafe for ListenerStatus
impl Send for ListenerStatus
impl Sync for ListenerStatus
impl Unpin for ListenerStatus
impl UnsafeUnpin for ListenerStatus
impl UnwindSafe for ListenerStatus
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