capsules_extra::net::udp::udp_port_table

Trait PortQuery

Source
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§

Source

fn is_bound(&self, port: u16) -> bool

Implementors§