pub struct UdpSocketController { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl QuicIO for UdpSocketController
impl QuicIO for UdpSocketController
Source§fn real_addr(&self) -> Result<RealAddr, Error>
fn real_addr(&self) -> Result<RealAddr, Error>
Get the actual address that this interface is bound to. Read more
Source§fn max_segments(&self) -> Result<usize, Error>
fn max_segments(&self) -> Result<usize, Error>
Maximum number of segments that can be sent in a single batch
Source§fn max_segment_size(&self) -> Result<usize, Error>
fn max_segment_size(&self) -> Result<usize, Error>
Maximum size of a single network segment in bytes
Source§fn poll_send(
&self,
cx: &mut Context<'_>,
pkts: &[IoSlice<'_>],
hdr: PacketHeader,
) -> Poll<Result<usize, Error>>
fn poll_send( &self, cx: &mut Context<'_>, pkts: &[IoSlice<'_>], hdr: PacketHeader, ) -> Poll<Result<usize, Error>>
Poll for sending packets Read more
Auto Trait Implementations§
impl !Freeze for UdpSocketController
impl RefUnwindSafe for UdpSocketController
impl Send for UdpSocketController
impl Sync for UdpSocketController
impl Unpin for UdpSocketController
impl UnwindSafe for UdpSocketController
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