pub struct TcpConnect {
pub host: String,
pub port: u16,
pub timeout_ms: Option<u32>,
pub no_delay: bool,
pub keep_alive_ms: Option<u32>,
}Fields§
§host: String§port: u16§timeout_ms: Option<u32>§no_delay: bool§keep_alive_ms: Option<u32>Trait Implementations§
Source§impl Clone for TcpConnect
impl Clone for TcpConnect
Source§fn clone(&self) -> TcpConnect
fn clone(&self) -> TcpConnect
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 TcpConnect
impl Debug for TcpConnect
Auto Trait Implementations§
impl Freeze for TcpConnect
impl RefUnwindSafe for TcpConnect
impl Send for TcpConnect
impl Sync for TcpConnect
impl Unpin for TcpConnect
impl UnsafeUnpin for TcpConnect
impl UnwindSafe for TcpConnect
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