Struct ddshow_types::differential_logging::ArchivedTraceShare [−][src]
pub struct ArchivedTraceShare where
OperatorId: Archive,
isize: Archive, { pub operator: Archived<OperatorId>, pub diff: Archived<isize>, }
Expand description
An archived TraceShare
Fields
operator: Archived<OperatorId>
The archived counterpart of TraceShare::operator
diff: Archived<isize>
The archived counterpart of TraceShare::diff
Trait Implementations
impl<__C: ?Sized> CheckBytes<__C> for ArchivedTraceShare where
OperatorId: Archive,
isize: Archive,
Archived<OperatorId>: CheckBytes<__C>,
Archived<isize>: CheckBytes<__C>,
impl<__C: ?Sized> CheckBytes<__C> for ArchivedTraceShare where
OperatorId: Archive,
isize: Archive,
Archived<OperatorId>: CheckBytes<__C>,
Archived<isize>: CheckBytes<__C>,
type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
Checks whether the given pointer points to a valid value within the given context. Read more
Auto Trait Implementations
impl RefUnwindSafe for ArchivedTraceShare
impl Send for ArchivedTraceShare
impl Sync for ArchivedTraceShare
impl Unpin for ArchivedTraceShare
impl UnwindSafe for ArchivedTraceShare
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.
Mutably borrows from an owned value. Read more