pub struct DirectTCPSocketOptionsBuilder { /* private fields */ }Implementations§
Source§impl DirectTCPSocketOptionsBuilder
impl DirectTCPSocketOptionsBuilder
Sourcepub fn keepAliveDelay(self, keepAliveDelay: f64) -> Self
pub fn keepAliveDelay(self, keepAliveDelay: f64) -> Self
Expected to be unsigned integer.
Sourcepub fn sendBufferSize(self, sendBufferSize: f64) -> Self
pub fn sendBufferSize(self, sendBufferSize: f64) -> Self
Expected to be unsigned integer.
Sourcepub fn receiveBufferSize(self, receiveBufferSize: f64) -> Self
pub fn receiveBufferSize(self, receiveBufferSize: f64) -> Self
Expected to be unsigned integer.
pub fn dnsQueryType(self, dnsQueryType: DirectSocketDnsQueryType) -> Self
pub fn build(self) -> DirectTCPSocketOptions
Auto Trait Implementations§
impl Freeze for DirectTCPSocketOptionsBuilder
impl RefUnwindSafe for DirectTCPSocketOptionsBuilder
impl Send for DirectTCPSocketOptionsBuilder
impl Sync for DirectTCPSocketOptionsBuilder
impl Unpin for DirectTCPSocketOptionsBuilder
impl UnsafeUnpin for DirectTCPSocketOptionsBuilder
impl UnwindSafe for DirectTCPSocketOptionsBuilder
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