pub struct ListenerInfo {
pub name: String,
pub bind: String,
pub local_addr: String,
pub protocols: Vec<String>,
pub udp_enabled: bool,
pub mode: Option<String>,
pub capability_status: Option<String>,
pub original_dst_support: Option<bool>,
pub unix_socket_path: Option<String>,
pub unix_socket_unlink_existing: Option<bool>,
}Fields§
§name: String§bind: String§local_addr: String§protocols: Vec<String>§udp_enabled: bool§mode: Option<String>§capability_status: Option<String>§original_dst_support: Option<bool>§unix_socket_path: Option<String>§unix_socket_unlink_existing: Option<bool>Trait Implementations§
Source§impl Clone for ListenerInfo
impl Clone for ListenerInfo
Source§fn clone(&self) -> ListenerInfo
fn clone(&self) -> ListenerInfo
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 Debug for ListenerInfo
impl Debug for ListenerInfo
Auto Trait Implementations§
impl Freeze for ListenerInfo
impl RefUnwindSafe for ListenerInfo
impl Send for ListenerInfo
impl Sync for ListenerInfo
impl Unpin for ListenerInfo
impl UnsafeUnpin for ListenerInfo
impl UnwindSafe for ListenerInfo
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