pub struct DirectTCPSocketOptionsBuilder { /* private fields */ }Implementations§
Source§impl DirectTCPSocketOptionsBuilder
impl DirectTCPSocketOptionsBuilder
Sourcepub fn keep_alive_delay(self, keep_alive_delay: f64) -> Self
pub fn keep_alive_delay(self, keep_alive_delay: f64) -> Self
Expected to be unsigned integer.
Sourcepub fn send_buffer_size(self, send_buffer_size: f64) -> Self
pub fn send_buffer_size(self, send_buffer_size: f64) -> Self
Expected to be unsigned integer.
Sourcepub fn receive_buffer_size(self, receive_buffer_size: f64) -> Self
pub fn receive_buffer_size(self, receive_buffer_size: f64) -> Self
Expected to be unsigned integer.
pub fn dns_query_type( self, dns_query_type: impl Into<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