pub struct TcpStreamOptions {
pub host: String,
pub port: u16,
pub nodelay: bool,
}Available on crate feature
tcpstream only.Fields§
§host: String§port: u16§nodelay: boolTrait Implementations§
Source§impl Debug for TcpStreamOptions
impl Debug for TcpStreamOptions
Auto Trait Implementations§
impl Freeze for TcpStreamOptions
impl RefUnwindSafe for TcpStreamOptions
impl Send for TcpStreamOptions
impl Sync for TcpStreamOptions
impl Unpin for TcpStreamOptions
impl UnwindSafe for TcpStreamOptions
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