Skip to main content

endpoint_sec/event/
event_cs_invalidated.rs

1//! [`EventCSInvalidated`]
2
3use endpoint_sec_sys::es_event_cs_invalidated_t;
4
5/// Code signing status for process was invalidated event.
6#[doc(alias = "es_event_cs_invalidated_t")]
7pub struct EventCSInvalidated<'a> {
8    /// Raw event
9    #[allow(dead_code)]
10    pub(crate) raw: &'a es_event_cs_invalidated_t,
11}
12
13// Safety: safe to send across threads: does not contain any interior mutability nor depend on current thread state
14unsafe impl Send for EventCSInvalidated<'_> {}
15// Safety: safe to share across threads: does not contain any interior mutability nor depend on current thread state
16unsafe impl Sync for EventCSInvalidated<'_> {}
17
18impl_debug_eq_hash_with_functions!(EventCSInvalidated<'a>;);