Enum sans_io_runtime::backend::BackendOutgoing
source · 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
source§fn eq(&self, other: &BackendOutgoing) -> bool
fn eq(&self, other: &BackendOutgoing) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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