pub struct TcpServerConfig {
pub listen_port: u16,
}Fields§
§listen_port: u16Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TcpServerConfig
Source§impl Debug for TcpServerConfig
impl Debug for TcpServerConfig
impl Eq for TcpServerConfig
Source§impl PartialEq for TcpServerConfig
impl PartialEq for TcpServerConfig
Source§fn eq(&self, other: &TcpServerConfig) -> bool
fn eq(&self, other: &TcpServerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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 UnsafeUnpin 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