pub struct DirectTCPSocketOptions { /* private fields */ }Implementations§
Source§impl DirectTCPSocketOptions
impl DirectTCPSocketOptions
pub fn builder(noDelay: bool) -> DirectTCPSocketOptionsBuilder
pub fn noDelay(&self) -> bool
pub fn keepAliveDelay(&self) -> Option<f64>
pub fn sendBufferSize(&self) -> Option<f64>
pub fn receiveBufferSize(&self) -> Option<f64>
pub fn dnsQueryType(&self) -> Option<&DirectSocketDnsQueryType>
Trait Implementations§
Source§impl Clone for DirectTCPSocketOptions
impl Clone for DirectTCPSocketOptions
Source§fn clone(&self) -> DirectTCPSocketOptions
fn clone(&self) -> DirectTCPSocketOptions
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 DirectTCPSocketOptions
impl Debug for DirectTCPSocketOptions
Source§impl Default for DirectTCPSocketOptions
impl Default for DirectTCPSocketOptions
Source§fn default() -> DirectTCPSocketOptions
fn default() -> DirectTCPSocketOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectTCPSocketOptions
impl<'de> Deserialize<'de> for DirectTCPSocketOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DirectTCPSocketOptions
impl RefUnwindSafe for DirectTCPSocketOptions
impl Send for DirectTCPSocketOptions
impl Sync for DirectTCPSocketOptions
impl Unpin for DirectTCPSocketOptions
impl UnsafeUnpin for DirectTCPSocketOptions
impl UnwindSafe for DirectTCPSocketOptions
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