Trait capsules_extra::net::udp::udp_port_table::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§

source§

impl<'a> PortQuery for UDPDriver<'a>