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§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