pub struct MulticastFilter {
pub overflow: bool,
pub generation: u32,
/* private fields */
}Expand description
A snapshot of the multicast filter list, returned by StateRunner::multicast_filter.
The list holds the multicast hardware addresses the stack listens on. The device end of the channel applies it to the hardware filter, if it has one.
Fields§
§overflow: boolMore addresses were asked for than the list holds.
The device should stop filtering and receive all multicast instead, so the addresses that did not fit get through too.
generation: u32Bumped on every change of the list. Pass it to
StateRunner::multicast_filter_changed to wait for the next change.
Implementations§
Trait Implementations§
Source§impl Clone for MulticastFilter
impl Clone for MulticastFilter
Source§fn clone(&self) -> MulticastFilter
fn clone(&self) -> MulticastFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MulticastFilter
Auto Trait Implementations§
impl Freeze for MulticastFilter
impl RefUnwindSafe for MulticastFilter
impl Send for MulticastFilter
impl Sync for MulticastFilter
impl Unpin for MulticastFilter
impl UnsafeUnpin for MulticastFilter
impl UnwindSafe for MulticastFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more