Trait ITraceEvent_Impl
pub trait ITraceEvent_Impl: IUnknownImpl {
// Required methods
fn Clone(&self) -> Result<ITraceEvent>;
fn GetUserContext(&self) -> Result<*mut c_void>;
fn GetEventRecord(&self) -> Result<*mut EVENT_RECORD>;
fn SetPayload(&self, payload: *const u8, payloadsize: u32) -> Result<()>;
fn SetEventDescriptor(
&self,
eventdescriptor: *const EVENT_DESCRIPTOR,
) -> Result<()>;
fn SetProcessId(&self, processid: u32) -> Result<()>;
fn SetProcessorIndex(&self, processorindex: u32) -> Result<()>;
fn SetThreadId(&self, threadid: u32) -> Result<()>;
fn SetThreadTimes(&self, kerneltime: u32, usertime: u32) -> Result<()>;
fn SetActivityId(&self, activityid: *const GUID) -> Result<()>;
fn SetTimeStamp(&self, timestamp: *const i64) -> Result<()>;
fn SetProviderId(&self, providerid: *const GUID) -> Result<()>;
}
Required Methods§
fn Clone(&self) -> Result<ITraceEvent>
fn GetUserContext(&self) -> Result<*mut c_void>
fn GetEventRecord(&self) -> Result<*mut EVENT_RECORD>
fn SetPayload(&self, payload: *const u8, payloadsize: u32) -> Result<()>
fn SetEventDescriptor( &self, eventdescriptor: *const EVENT_DESCRIPTOR, ) -> Result<()>
fn SetProcessId(&self, processid: u32) -> Result<()>
fn SetProcessorIndex(&self, processorindex: u32) -> Result<()>
fn SetThreadId(&self, threadid: u32) -> Result<()>
fn SetThreadTimes(&self, kerneltime: u32, usertime: u32) -> Result<()>
fn SetActivityId(&self, activityid: *const GUID) -> Result<()>
fn SetTimeStamp(&self, timestamp: *const i64) -> Result<()>
fn SetProviderId(&self, providerid: *const GUID) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.