pub struct UdpSocketInfo {
pub local_addr: IpAddr,
pub local_port: u16,
}Expand description
UDP-specific socket information.
Fields§
§local_addr: IpAddr§local_port: u16Trait Implementations§
Source§impl Clone for UdpSocketInfo
impl Clone for UdpSocketInfo
Source§fn clone(&self) -> UdpSocketInfo
fn clone(&self) -> UdpSocketInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UdpSocketInfo
impl RefUnwindSafe for UdpSocketInfo
impl Send for UdpSocketInfo
impl Sync for UdpSocketInfo
impl Unpin for UdpSocketInfo
impl UnwindSafe for UdpSocketInfo
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