pub struct ListenerAddress {
pub name: String,
pub addr: SocketAddr,
}Expand description
A single listener’s bound address.
Fields§
§name: StringListener name from config.
addr: SocketAddrBound socket address.
Trait Implementations§
Source§impl Clone for ListenerAddress
impl Clone for ListenerAddress
Source§fn clone(&self) -> ListenerAddress
fn clone(&self) -> ListenerAddress
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 ListenerAddress
impl RefUnwindSafe for ListenerAddress
impl Send for ListenerAddress
impl Sync for ListenerAddress
impl Unpin for ListenerAddress
impl UnsafeUnpin for ListenerAddress
impl UnwindSafe for ListenerAddress
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