pub struct SocketOpts {
pub nodelay: Option<bool>,
pub keepalive: Option<KeepaliveOpts>,
}Fields§
§nodelay: Option<bool>§keepalive: Option<KeepaliveOpts>Trait Implementations§
Source§impl Clone for SocketOpts
impl Clone for SocketOpts
Source§fn clone(&self) -> SocketOpts
fn clone(&self) -> SocketOpts
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 SocketOpts
impl Debug for SocketOpts
Source§impl Default for SocketOpts
impl Default for SocketOpts
Source§fn default() -> SocketOpts
fn default() -> SocketOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SocketOpts
impl RefUnwindSafe for SocketOpts
impl Send for SocketOpts
impl Sync for SocketOpts
impl Unpin for SocketOpts
impl UnwindSafe for SocketOpts
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