pub struct UdpAssoc {
pub socket: Arc<UdpSocket>,
pub peer: SocketAddr,
pub first_packets: Vec<Bytes>,
}Fields§
§socket: Arc<UdpSocket>Physical listener socket — vane-owned, shared via Arc with the
listener’s recv loop. The fetch sends responses back to the peer
through this socket; the listener demuxes inbound datagrams to
the per-session forwarder via the dispatch table. See
spec/crates/engine.md § udp_dispatch.
peer: SocketAddr§first_packets: Vec<Bytes>Datagrams that triggered the cold-path FlowGraph entry, in
arrival order. Length is 1 for the immediate cold-path; > 1
only when the listener went through the pending-peek state
machine and the buffered datagrams replay together (per
spec/crates/engine.md § Multi-packet peek). The L4Forward fetch sends every entry verbatim, in
this order, before subscribing to the inbound hot-path channel.
Auto Trait Implementations§
impl Freeze for UdpAssoc
impl RefUnwindSafe for UdpAssoc
impl Send for UdpAssoc
impl Sync for UdpAssoc
impl Unpin for UdpAssoc
impl UnsafeUnpin for UdpAssoc
impl UnwindSafe for UdpAssoc
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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