pub struct AttributeFilter { /* private fields */ }Expand description
Attribute-based filter
Implementations§
Trait Implementations§
Source§impl FilterPredicate for AttributeFilter
impl FilterPredicate for AttributeFilter
Source§fn should_deliver(
&self,
_message: &Message,
_connection_id: &ConnectionId,
) -> bool
fn should_deliver( &self, _message: &Message, _connection_id: &ConnectionId, ) -> bool
Check if a message should be delivered to a connection
Auto Trait Implementations§
impl Freeze for AttributeFilter
impl RefUnwindSafe for AttributeFilter
impl Send for AttributeFilter
impl Sync for AttributeFilter
impl Unpin for AttributeFilter
impl UnsafeUnpin for AttributeFilter
impl UnwindSafe for AttributeFilter
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