pub struct UdpInfo {
pub binding: usize,
pub loop_index: usize,
pub local_addr: SocketAddr,
}Expand description
Information for creating a UDP endpoint on a loop.
Fields§
§binding: usizeIndex of the UDP binding in the order the builder registered them.
loop_index: usizeThe loop the endpoint runs on.
local_addr: SocketAddrThe bound address.
Trait Implementations§
Auto Trait Implementations§
impl Forget for UdpInfo
impl Freeze for UdpInfo
impl Move for UdpInfo
impl RefUnwindSafe for UdpInfo
impl Send for UdpInfo
impl Sync for UdpInfo
impl Unpin for UdpInfo
impl UnsafeUnpin for UdpInfo
impl UnwindSafe for UdpInfo
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