pub(crate) struct UdpBoundState {
pub(crate) socket: SocketHandle,
pub(crate) local_port: u16,
}Expand description
State for a UDP scheme handle bound on a local port (udp/bind/<port>).
Fields§
§socket: SocketHandle§local_port: u16Trait Implementations§
Source§impl Clone for UdpBoundState
impl Clone for UdpBoundState
Source§fn clone(&self) -> UdpBoundState
fn clone(&self) -> UdpBoundState
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 UdpBoundState
Auto Trait Implementations§
impl Freeze for UdpBoundState
impl RefUnwindSafe for UdpBoundState
impl Send for UdpBoundState
impl Sync for UdpBoundState
impl Unpin for UdpBoundState
impl UnsafeUnpin for UdpBoundState
impl UnwindSafe for UdpBoundState
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