pub struct EventGroup { /* private fields */ }Implementations§
Source§impl EventGroup
impl EventGroup
Sourcepub fn matches_pid(&self, pid: pid_t) -> bool
pub fn matches_pid(&self, pid: pid_t) -> bool
Returns true if this event group is associated with the given process ID
Sourcepub fn encrypt_context<F>(&mut self, f: F) -> Result<(), Box<dyn Error>>
pub fn encrypt_context<F>(&mut self, f: F) -> Result<(), Box<dyn Error>>
Returns encrypted context ID associated with the event group
Sourcepub fn coalesce(&mut self, other: &mut Self)
pub fn coalesce(&mut self, other: &mut Self)
Merges this event group with another which shares the same context ID
Sourcepub fn events_filtered(&mut self, scopes: &[String])
pub fn events_filtered(&mut self, scopes: &[String])
Removes events which do not match the given scopes
Trait Implementations§
Source§impl Clone for EventGroup
impl Clone for EventGroup
Source§fn clone(&self) -> EventGroup
fn clone(&self) -> EventGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventGroup
impl Debug for EventGroup
Source§impl<'de> Deserialize<'de> for EventGroup
impl<'de> Deserialize<'de> for EventGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventGroup
impl RefUnwindSafe for EventGroup
impl Send for EventGroup
impl Sync for EventGroup
impl Unpin for EventGroup
impl UnwindSafe for EventGroup
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