pub struct TcpServerConfig {
pub name: String,
pub listen_ip: String,
pub listen_port: u16,
pub interface_id: InterfaceId,
}Expand description
Configuration for a TCP server interface.
Fields§
§name: String§listen_ip: String§listen_port: u16§interface_id: InterfaceIdTrait Implementations§
Source§impl Clone for TcpServerConfig
impl Clone for TcpServerConfig
Source§fn clone(&self) -> TcpServerConfig
fn clone(&self) -> TcpServerConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 TcpServerConfig
impl Debug for TcpServerConfig
Auto Trait Implementations§
impl Freeze for TcpServerConfig
impl RefUnwindSafe for TcpServerConfig
impl Send for TcpServerConfig
impl Sync for TcpServerConfig
impl Unpin for TcpServerConfig
impl UnwindSafe for TcpServerConfig
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