pub enum BackendOutgoing {
UdpListen {
addr: SocketAddr,
reuse: bool,
},
UdpUnlisten {
slot: usize,
},
UdpPacket {
slot: usize,
to: SocketAddr,
data: Buffer,
},
UdpPackets {
slot: usize,
to: Vec<SocketAddr>,
data: Buffer,
},
UdpPackets2 {
to: Vec<(usize, SocketAddr)>,
data: Buffer,
},
}
Expand description
Represents an outgoing network control.
Variants§
Trait Implementations§
Source§impl Debug for BackendOutgoing
impl Debug for BackendOutgoing
Source§impl PartialEq for BackendOutgoing
impl PartialEq for BackendOutgoing
impl Eq for BackendOutgoing
impl StructuralPartialEq for BackendOutgoing
Auto Trait Implementations§
impl Freeze for BackendOutgoing
impl RefUnwindSafe for BackendOutgoing
impl Send for BackendOutgoing
impl Sync for BackendOutgoing
impl Unpin for BackendOutgoing
impl UnwindSafe for BackendOutgoing
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