pub(crate) struct UdpConnState {
pub(crate) socket: SocketHandle,
pub(crate) local_port: u16,
pub(crate) remote: IpEndpoint,
}Expand description
State for a UDP scheme handle with a fixed remote endpoint
(udp/connect/<ip>/<port> or udp/send/<ip>/<port>).
Fields§
§socket: SocketHandle§local_port: u16§remote: IpEndpointTrait Implementations§
Source§impl Clone for UdpConnState
impl Clone for UdpConnState
Source§fn clone(&self) -> UdpConnState
fn clone(&self) -> UdpConnState
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 moreimpl Copy for UdpConnState
Auto Trait Implementations§
impl Freeze for UdpConnState
impl RefUnwindSafe for UdpConnState
impl Send for UdpConnState
impl Sync for UdpConnState
impl Unpin for UdpConnState
impl UnsafeUnpin for UdpConnState
impl UnwindSafe for UdpConnState
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