pub struct FoundEventDescriptor {
pub seq: u64,
pub family: Option<RecordedEventFamily>,
pub key: Option<CorrelationKey>,
pub kind: &'static str,
}Expand description
Data describing the recorded event found at the cursor’s current position.
Fields§
§seq: u64Sequence number of the recorded event.
family: Option<RecordedEventFamily>Replay family for the recorded event, if it is matchable by the cursor.
key: Option<CorrelationKey>Correlation key derived for the recorded event, if it starts a matchable command.
kind: &'static strStable event-variant name for diagnostics.
Trait Implementations§
Source§impl Clone for FoundEventDescriptor
impl Clone for FoundEventDescriptor
Source§fn clone(&self) -> FoundEventDescriptor
fn clone(&self) -> FoundEventDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FoundEventDescriptor
impl Debug for FoundEventDescriptor
impl Eq for FoundEventDescriptor
Source§impl PartialEq for FoundEventDescriptor
impl PartialEq for FoundEventDescriptor
impl StructuralPartialEq for FoundEventDescriptor
Auto Trait Implementations§
impl Freeze for FoundEventDescriptor
impl RefUnwindSafe for FoundEventDescriptor
impl Send for FoundEventDescriptor
impl Sync for FoundEventDescriptor
impl Unpin for FoundEventDescriptor
impl UnsafeUnpin for FoundEventDescriptor
impl UnwindSafe for FoundEventDescriptor
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§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.