Struct salsa::Event[][src]

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: RuntimeId

The id of the snapshot that triggered the event. Usually 1-to-1 with a thread, as well.

kind: EventKind

What sort of event was it.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.