Struct iroh_quinn_udp::UdpSocketState
source · pub struct UdpSocketState { /* private fields */ }
Expand description
QUIC-friendly UDP interface for Windows
Implementations§
source§impl UdpSocketState
impl UdpSocketState
pub fn new() -> Self
pub fn configure(socket: UdpSockRef<'_>) -> Result<()>
pub fn send( &self, socket: UdpSockRef<'_>, _state: &UdpState, transmits: &[Transmit] ) -> Result<usize, Error>
pub fn recv( &self, socket: UdpSockRef<'_>, bufs: &mut [IoSliceMut<'_>], meta: &mut [RecvMeta] ) -> Result<usize>
Trait Implementations§
source§impl Debug for UdpSocketState
impl Debug for UdpSocketState
Auto Trait Implementations§
impl !Freeze for UdpSocketState
impl RefUnwindSafe for UdpSocketState
impl Send for UdpSocketState
impl Sync for UdpSocketState
impl Unpin for UdpSocketState
impl UnwindSafe for UdpSocketState
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