Struct capsules_extra::net::udp::udp_port_table::UdpSocket
source · pub struct UdpSocket { /* private fields */ }
Expand description
A UdpSocket provides a handle into the bound port table. When binding to a port, the socket is consumed and Udp{Sender, Receiver}Binding structs are returned. When undbinding, the socket is returned and can be used to bind to other ports.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UdpSocket
impl !RefUnwindSafe for UdpSocket
impl !Send for UdpSocket
impl !Sync for UdpSocket
impl Unpin for UdpSocket
impl !UnwindSafe for UdpSocket
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