pub trait PortQuery {
// Required method
fn is_bound(&self, port: u16) -> bool;
}Expand description
The PortQuery trait enables the UdpPortManager to query the userspace bound ports in the UDP driver. The UDP driver struct implements this trait.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".