Struct windows::Win32::System::Diagnostics::ClrProfiling::ICorProfilerCallback5
pub struct ICorProfilerCallback5(/* private fields */);
Implementations§
Methods from Deref<Target = ICorProfilerCallback4>§
pub unsafe fn ReJITCompilationStarted<P0>(
&self,
functionid: usize,
rejitid: usize,
fissafetoblock: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn GetReJITParameters<P0>(
&self,
moduleid: usize,
methodid: u32,
pfunctioncontrol: P0,
) -> Result<()>where
P0: Param<ICorProfilerFunctionControl>,
pub unsafe fn ReJITCompilationFinished<P0>(
&self,
functionid: usize,
rejitid: usize,
hrstatus: HRESULT,
fissafetoblock: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn ReJITError( &self, moduleid: usize, methodid: u32, functionid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn MovedReferences2( &self, cmovedobjectidranges: u32, oldobjectidrangestart: *const usize, newobjectidrangestart: *const usize, cobjectidrangelength: *const usize, ) -> Result<()>
pub unsafe fn SurvivingReferences2( &self, csurvivingobjectidranges: u32, objectidrangestart: *const usize, cobjectidrangelength: *const usize, ) -> Result<()>
Methods from Deref<Target = ICorProfilerCallback3>§
pub unsafe fn InitializeForAttach<P0>(
&self,
pcorprofilerinfounk: P0,
pvclientdata: *const c_void,
cbclientdata: u32,
) -> Result<()>where
P0: Param<IUnknown>,
pub unsafe fn ProfilerAttachComplete(&self) -> Result<()>
pub unsafe fn ProfilerDetachSucceeded(&self) -> Result<()>
Methods from Deref<Target = ICorProfilerCallback2>§
pub unsafe fn ThreadNameChanged( &self, threadid: usize, name: Option<&[u16]>, ) -> Result<()>
pub unsafe fn GarbageCollectionStarted( &self, generationcollected: &[BOOL], reason: COR_PRF_GC_REASON, ) -> Result<()>
pub unsafe fn SurvivingReferences( &self, csurvivingobjectidranges: u32, objectidrangestart: *const usize, cobjectidrangelength: *const u32, ) -> Result<()>
pub unsafe fn GarbageCollectionFinished(&self) -> Result<()>
pub unsafe fn FinalizeableObjectQueued( &self, finalizerflags: u32, objectid: usize, ) -> Result<()>
pub unsafe fn RootReferences2( &self, crootrefs: u32, rootrefids: *const usize, rootkinds: *const COR_PRF_GC_ROOT_KIND, rootflags: *const COR_PRF_GC_ROOT_FLAGS, rootids: *const usize, ) -> Result<()>
pub unsafe fn HandleCreated( &self, handleid: usize, initialobjectid: usize, ) -> Result<()>
pub unsafe fn HandleDestroyed(&self, handleid: usize) -> Result<()>
Methods from Deref<Target = ICorProfilerCallback>§
pub unsafe fn Initialize<P0>(&self, picorprofilerinfounk: P0) -> Result<()>where
P0: Param<IUnknown>,
pub unsafe fn Shutdown(&self) -> Result<()>
pub unsafe fn AppDomainCreationStarted(&self, appdomainid: usize) -> Result<()>
pub unsafe fn AppDomainCreationFinished( &self, appdomainid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn AppDomainShutdownStarted(&self, appdomainid: usize) -> Result<()>
pub unsafe fn AppDomainShutdownFinished( &self, appdomainid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn AssemblyLoadStarted(&self, assemblyid: usize) -> Result<()>
pub unsafe fn AssemblyLoadFinished( &self, assemblyid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn AssemblyUnloadStarted(&self, assemblyid: usize) -> Result<()>
pub unsafe fn AssemblyUnloadFinished( &self, assemblyid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn ModuleLoadStarted(&self, moduleid: usize) -> Result<()>
pub unsafe fn ModuleLoadFinished( &self, moduleid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn ModuleUnloadStarted(&self, moduleid: usize) -> Result<()>
pub unsafe fn ModuleUnloadFinished( &self, moduleid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn ModuleAttachedToAssembly( &self, moduleid: usize, assemblyid: usize, ) -> Result<()>
pub unsafe fn ClassLoadStarted(&self, classid: usize) -> Result<()>
pub unsafe fn ClassLoadFinished( &self, classid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn ClassUnloadStarted(&self, classid: usize) -> Result<()>
pub unsafe fn ClassUnloadFinished( &self, classid: usize, hrstatus: HRESULT, ) -> Result<()>
pub unsafe fn FunctionUnloadStarted(&self, functionid: usize) -> Result<()>
pub unsafe fn JITCompilationStarted<P0>(
&self,
functionid: usize,
fissafetoblock: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn JITCompilationFinished<P0>(
&self,
functionid: usize,
hrstatus: HRESULT,
fissafetoblock: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn JITCachedFunctionSearchStarted( &self, functionid: usize, ) -> Result<BOOL>
pub unsafe fn JITCachedFunctionSearchFinished( &self, functionid: usize, result: COR_PRF_JIT_CACHE, ) -> Result<()>
pub unsafe fn JITFunctionPitched(&self, functionid: usize) -> Result<()>
pub unsafe fn JITInlining( &self, callerid: usize, calleeid: usize, ) -> Result<BOOL>
pub unsafe fn ThreadCreated(&self, threadid: usize) -> Result<()>
pub unsafe fn ThreadDestroyed(&self, threadid: usize) -> Result<()>
pub unsafe fn ThreadAssignedToOSThread( &self, managedthreadid: usize, osthreadid: u32, ) -> Result<()>
pub unsafe fn RemotingClientInvocationStarted(&self) -> Result<()>
pub unsafe fn RemotingClientSendingMessage<P0>(
&self,
pcookie: *const GUID,
fisasync: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn RemotingClientReceivingReply<P0>(
&self,
pcookie: *const GUID,
fisasync: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn RemotingClientInvocationFinished(&self) -> Result<()>
pub unsafe fn RemotingServerReceivingMessage<P0>(
&self,
pcookie: *const GUID,
fisasync: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn RemotingServerInvocationStarted(&self) -> Result<()>
pub unsafe fn RemotingServerInvocationReturned(&self) -> Result<()>
pub unsafe fn RemotingServerSendingReply<P0>(
&self,
pcookie: *const GUID,
fisasync: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn UnmanagedToManagedTransition( &self, functionid: usize, reason: COR_PRF_TRANSITION_REASON, ) -> Result<()>
pub unsafe fn ManagedToUnmanagedTransition( &self, functionid: usize, reason: COR_PRF_TRANSITION_REASON, ) -> Result<()>
pub unsafe fn RuntimeSuspendStarted( &self, suspendreason: COR_PRF_SUSPEND_REASON, ) -> Result<()>
pub unsafe fn RuntimeSuspendFinished(&self) -> Result<()>
pub unsafe fn RuntimeSuspendAborted(&self) -> Result<()>
pub unsafe fn RuntimeResumeStarted(&self) -> Result<()>
pub unsafe fn RuntimeResumeFinished(&self) -> Result<()>
pub unsafe fn RuntimeThreadSuspended(&self, threadid: usize) -> Result<()>
pub unsafe fn RuntimeThreadResumed(&self, threadid: usize) -> Result<()>
pub unsafe fn MovedReferences( &self, cmovedobjectidranges: u32, oldobjectidrangestart: *const usize, newobjectidrangestart: *const usize, cobjectidrangelength: *const u32, ) -> Result<()>
pub unsafe fn ObjectAllocated( &self, objectid: usize, classid: usize, ) -> Result<()>
pub unsafe fn ObjectsAllocatedByClass( &self, cclasscount: u32, classids: *const usize, cobjects: *const u32, ) -> Result<()>
pub unsafe fn ObjectReferences( &self, objectid: usize, classid: usize, objectrefids: &[usize], ) -> Result<()>
pub unsafe fn RootReferences(&self, rootrefids: &[usize]) -> Result<()>
pub unsafe fn ExceptionThrown(&self, thrownobjectid: usize) -> Result<()>
pub unsafe fn ExceptionSearchFunctionEnter( &self, functionid: usize, ) -> Result<()>
pub unsafe fn ExceptionSearchFunctionLeave(&self) -> Result<()>
pub unsafe fn ExceptionSearchFilterEnter(&self, functionid: usize) -> Result<()>
pub unsafe fn ExceptionSearchFilterLeave(&self) -> Result<()>
pub unsafe fn ExceptionSearchCatcherFound( &self, functionid: usize, ) -> Result<()>
pub unsafe fn ExceptionOSHandlerEnter(&self, __unused: usize) -> Result<()>
pub unsafe fn ExceptionOSHandlerLeave(&self, __unused: usize) -> Result<()>
pub unsafe fn ExceptionUnwindFunctionEnter( &self, functionid: usize, ) -> Result<()>
pub unsafe fn ExceptionUnwindFunctionLeave(&self) -> Result<()>
pub unsafe fn ExceptionUnwindFinallyEnter( &self, functionid: usize, ) -> Result<()>
pub unsafe fn ExceptionUnwindFinallyLeave(&self) -> Result<()>
pub unsafe fn ExceptionCatcherEnter( &self, functionid: usize, objectid: usize, ) -> Result<()>
pub unsafe fn ExceptionCatcherLeave(&self) -> Result<()>
pub unsafe fn COMClassicVTableCreated( &self, wrappedclassid: usize, implementediid: *const GUID, pvtable: *const c_void, cslots: u32, ) -> Result<()>
pub unsafe fn COMClassicVTableDestroyed( &self, wrappedclassid: usize, implementediid: *const GUID, pvtable: *const c_void, ) -> Result<()>
pub unsafe fn ExceptionCLRCatcherFound(&self) -> Result<()>
pub unsafe fn ExceptionCLRCatcherExecute(&self) -> Result<()>
Trait Implementations§
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback5
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback5
§impl CanInto<ICorProfilerCallback2> for ICorProfilerCallback5
impl CanInto<ICorProfilerCallback2> for ICorProfilerCallback5
§impl CanInto<ICorProfilerCallback3> for ICorProfilerCallback5
impl CanInto<ICorProfilerCallback3> for ICorProfilerCallback5
§impl CanInto<ICorProfilerCallback4> for ICorProfilerCallback5
impl CanInto<ICorProfilerCallback4> for ICorProfilerCallback5
§impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback10
impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback10
§impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback6
impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback6
§impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback7
impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback7
§impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback8
impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback8
§impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback9
impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback9
§impl CanInto<IUnknown> for ICorProfilerCallback5
impl CanInto<IUnknown> for ICorProfilerCallback5
§impl Clone for ICorProfilerCallback5
impl Clone for ICorProfilerCallback5
§fn clone(&self) -> ICorProfilerCallback5
fn clone(&self) -> ICorProfilerCallback5
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ICorProfilerCallback5
impl Debug for ICorProfilerCallback5
§impl Deref for ICorProfilerCallback5
impl Deref for ICorProfilerCallback5
§impl From<&ICorProfilerCallback10> for &ICorProfilerCallback5
impl From<&ICorProfilerCallback10> for &ICorProfilerCallback5
§fn from(value: &ICorProfilerCallback10) -> Self
fn from(value: &ICorProfilerCallback10) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback5
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback5
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback5> for &ICorProfilerCallback
impl From<&ICorProfilerCallback5> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback5) -> Self
fn from(value: &ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback5> for &ICorProfilerCallback2
impl From<&ICorProfilerCallback5> for &ICorProfilerCallback2
§fn from(value: &ICorProfilerCallback5) -> Self
fn from(value: &ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback5> for &ICorProfilerCallback3
impl From<&ICorProfilerCallback5> for &ICorProfilerCallback3
§fn from(value: &ICorProfilerCallback5) -> Self
fn from(value: &ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback5> for &ICorProfilerCallback4
impl From<&ICorProfilerCallback5> for &ICorProfilerCallback4
§fn from(value: &ICorProfilerCallback5) -> Self
fn from(value: &ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback5> for &IUnknown
impl From<&ICorProfilerCallback5> for &IUnknown
§fn from(value: &ICorProfilerCallback5) -> Self
fn from(value: &ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback6> for &ICorProfilerCallback5
impl From<&ICorProfilerCallback6> for &ICorProfilerCallback5
§fn from(value: &ICorProfilerCallback6) -> Self
fn from(value: &ICorProfilerCallback6) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback7> for &ICorProfilerCallback5
impl From<&ICorProfilerCallback7> for &ICorProfilerCallback5
§fn from(value: &ICorProfilerCallback7) -> Self
fn from(value: &ICorProfilerCallback7) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback8> for &ICorProfilerCallback5
impl From<&ICorProfilerCallback8> for &ICorProfilerCallback5
§fn from(value: &ICorProfilerCallback8) -> Self
fn from(value: &ICorProfilerCallback8) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback9> for &ICorProfilerCallback5
impl From<&ICorProfilerCallback9> for &ICorProfilerCallback5
§fn from(value: &ICorProfilerCallback9) -> Self
fn from(value: &ICorProfilerCallback9) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback10> for ICorProfilerCallback5
impl From<ICorProfilerCallback10> for ICorProfilerCallback5
§fn from(value: ICorProfilerCallback10) -> Self
fn from(value: ICorProfilerCallback10) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback5
impl From<ICorProfilerCallback11> for ICorProfilerCallback5
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback5> for ICorProfilerCallback
impl From<ICorProfilerCallback5> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback5) -> Self
fn from(value: ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback5> for ICorProfilerCallback2
impl From<ICorProfilerCallback5> for ICorProfilerCallback2
§fn from(value: ICorProfilerCallback5) -> Self
fn from(value: ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback5> for ICorProfilerCallback3
impl From<ICorProfilerCallback5> for ICorProfilerCallback3
§fn from(value: ICorProfilerCallback5) -> Self
fn from(value: ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback5> for ICorProfilerCallback4
impl From<ICorProfilerCallback5> for ICorProfilerCallback4
§fn from(value: ICorProfilerCallback5) -> Self
fn from(value: ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback5> for IUnknown
impl From<ICorProfilerCallback5> for IUnknown
§fn from(value: ICorProfilerCallback5) -> Self
fn from(value: ICorProfilerCallback5) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback6> for ICorProfilerCallback5
impl From<ICorProfilerCallback6> for ICorProfilerCallback5
§fn from(value: ICorProfilerCallback6) -> Self
fn from(value: ICorProfilerCallback6) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback7> for ICorProfilerCallback5
impl From<ICorProfilerCallback7> for ICorProfilerCallback5
§fn from(value: ICorProfilerCallback7) -> Self
fn from(value: ICorProfilerCallback7) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback8> for ICorProfilerCallback5
impl From<ICorProfilerCallback8> for ICorProfilerCallback5
§fn from(value: ICorProfilerCallback8) -> Self
fn from(value: ICorProfilerCallback8) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback9> for ICorProfilerCallback5
impl From<ICorProfilerCallback9> for ICorProfilerCallback5
§fn from(value: ICorProfilerCallback9) -> Self
fn from(value: ICorProfilerCallback9) -> Self
Converts to this type from the input type.
§impl Interface for ICorProfilerCallback5
impl Interface for ICorProfilerCallback5
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ICorProfilerCallback5
impl PartialEq for ICorProfilerCallback5
§fn eq(&self, other: &ICorProfilerCallback5) -> bool
fn eq(&self, other: &ICorProfilerCallback5) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICorProfilerCallback5
impl StructuralPartialEq for ICorProfilerCallback5
Auto Trait Implementations§
impl Freeze for ICorProfilerCallback5
impl RefUnwindSafe for ICorProfilerCallback5
impl !Send for ICorProfilerCallback5
impl !Sync for ICorProfilerCallback5
impl Unpin for ICorProfilerCallback5
impl UnwindSafe for ICorProfilerCallback5
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)