Trait netstack3_ip::gmp::GmpQueryHandler

source ·
pub trait GmpQueryHandler<I: Ip, BC>: DeviceIdContext<AnyDevice> {
    // Required method
    fn gmp_is_in_group(
        &mut self,
        device: &Self::DeviceId,
        group_addr: MulticastAddr<I::Addr>,
    ) -> bool;
}
Expand description

An implementation of query operations on a Group Management Protocol (GMP).

Required Methods§

source

fn gmp_is_in_group( &mut self, device: &Self::DeviceId, group_addr: MulticastAddr<I::Addr>, ) -> bool

Returns true if the device is a member of the group.

Implementors§

source§

impl<I: IpExt, BT: GmpBindingsTypes, CC: GmpStateContext<I, BT>> GmpQueryHandler<I, BT> for CC