pub struct Event {
pub runtime_id: RuntimeId,
pub kind: EventKind,
}Expand description
The Event struct identifies various notable things that can
occur during salsa execution. Instances of this struct are given
to salsa_event.
Fields§
§runtime_id: RuntimeIdThe id of the snapshot that triggered the event. Usually 1-to-1 with a thread, as well.
kind: EventKindWhat sort of event was it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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