pub struct FastUdpSocketBuilder { /* private fields */ }Implementations§
Source§impl FastUdpSocketBuilder
impl FastUdpSocketBuilder
pub fn gso(self, enable: bool) -> Self
pub fn gro(self, enable: bool) -> Self
pub fn sendmmsg(self, enable: bool) -> Self
pub fn ecn(self, enable: bool) -> Self
pub fn reuse_port(self, enable: bool) -> Self
pub fn max_batch_size(self, n: usize) -> Self
pub fn bind(self) -> Result<FastUdpSocket>
Auto Trait Implementations§
impl Freeze for FastUdpSocketBuilder
impl RefUnwindSafe for FastUdpSocketBuilder
impl Send for FastUdpSocketBuilder
impl Sync for FastUdpSocketBuilder
impl Unpin for FastUdpSocketBuilder
impl UnsafeUnpin for FastUdpSocketBuilder
impl UnwindSafe for FastUdpSocketBuilder
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