pub struct BitsMatch {
pub mask: u32,
pub value: u32,
}Expand description
Bitmask matcher for event filtering.
Contains a mask and value to match against event bits using:
(event & mask) == value
Fields§
§mask: u32§value: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BitsMatch
impl RefUnwindSafe for BitsMatch
impl Send for BitsMatch
impl Sync for BitsMatch
impl Unpin for BitsMatch
impl UnsafeUnpin for BitsMatch
impl UnwindSafe for BitsMatch
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