pub unsafe trait UdpDriverCapability { }Expand description
The UdpDriverCapability capability allows the holder to use two functions
only allowed by the UDP driver.
The first is the driver_send_to() function
in udp_send.rs, which does not require being bound to a single port, since
the driver manages port bindings for apps on its own. The second is the
set_user_ports() function in udp_port_table.rs, which gives the UDP port
table a reference to the UDP driver so that it can check which ports have
been bound by apps.
§Safety
Capabilities can only be created in trusted crates that can use unsafe.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".