pub enum DgramBackend {
Udp,
IoUring,
Wire,
Demux,
}Expand description
Which datagram backend a DgramSock resolved to.
Variants§
Udp
Plain std::net::UdpSocket (the universal fallback).
IoUring
io_uring-backed batched recvmsg/sendmsg (Linux, when available).
Wire
NIC-bypass via a WireSocket (AF_XDP on Linux, netmap on FreeBSD, BPF on macOS):
the transport’s datagrams ride raw Ethernet+IPv4+UDP frames, bypassing
the kernel networking stack. Engaged only above the link-speed gate.
Demux
Inbound stream is an in-process DemuxQueue fed by a demux reader;
sends forward to a shared real socket. Used by the unified Sens-O-Matic
endpoint to fan one socket out to its per-code receivers.
Trait Implementations§
Source§impl Clone for DgramBackend
impl Clone for DgramBackend
Source§fn clone(&self) -> DgramBackend
fn clone(&self) -> DgramBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DgramBackend
Source§impl Debug for DgramBackend
impl Debug for DgramBackend
impl Eq for DgramBackend
Source§impl PartialEq for DgramBackend
impl PartialEq for DgramBackend
impl StructuralPartialEq for DgramBackend
Auto Trait Implementations§
impl Freeze for DgramBackend
impl RefUnwindSafe for DgramBackend
impl Send for DgramBackend
impl Sync for DgramBackend
impl Unpin for DgramBackend
impl UnsafeUnpin for DgramBackend
impl UnwindSafe for DgramBackend
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