Enum ddshow_types::Event [−][src]
Expand description
Data and progress events of a captured stream.
Variants
Progress received via push_external_progress
Messages received via the data stream
Tuple Fields of Messages
0: T
1: Vec<D>
Implementations
Returns true
if the event is Event::Progress
.
Returns true
if the event is Event::Messages
Returns progress data if the event is Event::Progress
Returns message data if the event is Event::Messages
Returns progress data if the event is Event::Progress
Returns message data if the event is Event::Messages
Trait Implementations
Performs the conversion.
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<T, D> RefUnwindSafe for Event<T, D> where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, D> UnwindSafe for Event<T, D> where
D: UnwindSafe,
T: UnwindSafe,
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