pub enum RuntimeEvent {
RevisionBumped {
revision: Revision,
},
RevisionSet {
revision: Revision,
},
InputSet {
revision: Revision,
kind: QueryKindId,
key_hash: u64,
key: Key,
},
InputRemoved {
revision: Revision,
kind: QueryKindId,
key_hash: u64,
key: Key,
},
QueryInvalidated {
revision: Revision,
kind: QueryKindId,
key_hash: u64,
key: Key,
by_kind: QueryKindId,
by_key_hash: u64,
by_key: Key,
},
QueryChanged {
revision: Revision,
kind: QueryKindId,
key_hash: u64,
key: Key,
},
}Expand description
Notifications emitted by a Runtime.
Variants§
RevisionBumped
The global revision counter was bumped.
RevisionSet
The global revision counter was set directly (usually after cache load).
InputSet
An input value was set.
Fields
§
kind: QueryKindIdKind id of the input ingredient.
InputRemoved
An input value was removed.
Fields
§
kind: QueryKindIdKind id of the input ingredient.
QueryInvalidated
A derived query was invalidated by an input change.
Fields
§
kind: QueryKindIdKind id of the invalidated query.
§
by_kind: QueryKindIdKind id of the root input that caused invalidation.
QueryChanged
A derived query’s output changed at revision.
Trait Implementations§
Source§impl Clone for RuntimeEvent
impl Clone for RuntimeEvent
Source§fn clone(&self) -> RuntimeEvent
fn clone(&self) -> RuntimeEvent
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 moreAuto Trait Implementations§
impl Freeze for RuntimeEvent
impl RefUnwindSafe for RuntimeEvent
impl Send for RuntimeEvent
impl Sync for RuntimeEvent
impl Unpin for RuntimeEvent
impl UnsafeUnpin for RuntimeEvent
impl UnwindSafe for RuntimeEvent
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