pub enum ClientFilter {
All,
ByType(ClientType),
ByNetwork(EntityId),
ByDevice(MacAddress),
Guests,
Blocked,
Custom(Box<dyn Fn(&Client) -> bool + Send + Sync>),
}Expand description
Filter predicate for client collections.
Variants§
All
ByType(ClientType)
ByNetwork(EntityId)
ByDevice(MacAddress)
Guests
Blocked
Custom(Box<dyn Fn(&Client) -> bool + Send + Sync>)
Implementations§
Auto Trait Implementations§
impl Freeze for ClientFilter
impl !RefUnwindSafe for ClientFilter
impl Send for ClientFilter
impl Sync for ClientFilter
impl Unpin for ClientFilter
impl UnsafeUnpin for ClientFilter
impl !UnwindSafe for ClientFilter
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