pub enum RecordEffect {
Changed,
Observed,
}Expand description
Whether a record accompanies a change to the environment.
Variants§
Changed
The environment’s caches changed: a key was tuned, a kernel compiled. The session is kept, with everything it recorded before.
Observed
Something happened that changed nothing: a kernel loaded from the store, a span marked, a snapshot taken. Kept only if the session changes something.
Trait Implementations§
Source§impl Clone for RecordEffect
impl Clone for RecordEffect
impl Copy for RecordEffect
Source§impl Debug for RecordEffect
impl Debug for RecordEffect
impl Eq for RecordEffect
Source§impl PartialEq for RecordEffect
impl PartialEq for RecordEffect
impl StructuralPartialEq for RecordEffect
Auto Trait Implementations§
impl Freeze for RecordEffect
impl RefUnwindSafe for RecordEffect
impl Send for RecordEffect
impl Sync for RecordEffect
impl Unpin for RecordEffect
impl UnsafeUnpin for RecordEffect
impl UnwindSafe for RecordEffect
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.