pub struct EventSet { /* private fields */ }Expand description
Tracks the status of a set of events that have the same provider, level, and keyword.
Implementations§
Source§impl EventSet
impl EventSet
Sourcepub const fn new_unregistered() -> EventSet
pub const fn new_unregistered() -> EventSet
Returns an inactive (unregistered) EventSet. The returned event set’s
enabled() method will always return false, and any attempt to write
to this event set will have no effect (safe no-op).
This method may be used to create a placeholder event set. Active
(registered) event sets are created using Provider::register_set.
Trait Implementations§
Source§impl Ord for EventSet
impl Ord for EventSet
Source§impl PartialOrd for EventSet
impl PartialOrd for EventSet
impl Eq for EventSet
Auto Trait Implementations§
impl !Freeze for EventSet
impl RefUnwindSafe for EventSet
impl Send for EventSet
impl Sync for EventSet
impl !Unpin for EventSet
impl UnwindSafe for EventSet
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