Struct ddshow_types::differential_logging::MergeEvent [−][src]
pub struct MergeEvent { pub operator: OperatorId, pub scale: usize, pub length1: usize, pub length2: usize, pub complete: Option<usize>, }
Expand description
Either the start or end of a merge event.
Fields
operator: OperatorId
Operator identifier.
scale: usize
Which order of magnitude.
length1: usize
Length of first trace.
length2: usize
Length of second trace.
complete: Option<usize>
None implies a start.
Implementations
Trait Implementations
type Archived = ArchivedMergeEvent
type Archived = ArchivedMergeEvent
The archived representation of this type. Read more
type Resolver = MergeEventResolver
type Resolver = MergeEventResolver
The resolver for this type. It must contain all the additional information from serializing needed to make the archived type from the normal type. Read more
impl<__D: Fallible + ?Sized> Deserialize<MergeEvent, __D> for Archived<MergeEvent> where
OperatorId: Archive,
Archived<OperatorId>: Deserialize<OperatorId, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
Option<usize>: Archive,
Archived<Option<usize>>: Deserialize<Option<usize>, __D>,
impl<__D: Fallible + ?Sized> Deserialize<MergeEvent, __D> for Archived<MergeEvent> where
OperatorId: Archive,
Archived<OperatorId>: Deserialize<OperatorId, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
Option<usize>: Archive,
Archived<Option<usize>>: Deserialize<Option<usize>, __D>,
Deserializes using the given deserializer
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MergeEvent
impl Send for MergeEvent
impl Sync for MergeEvent
impl Unpin for MergeEvent
impl UnwindSafe for MergeEvent
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
The archived counterpart of this type. Unlike Archive
, it may be unsized. Read more
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
Mutably borrows from an owned value. Read more