Struct ICorProfilerCallback11
pub struct ICorProfilerCallback11(/* private fields */);
Implementations§
§impl ICorProfilerCallback11
impl ICorProfilerCallback11
pub unsafe fn LoadAsNotificationOnly( &self, pbnotificationonly: *mut BOOL, ) -> Result<()>
Methods from Deref<Target = ICorProfilerCallback10>§
pub unsafe fn EventPipeEventDelivered( &self, provider: usize, eventid: u32, eventversion: u32, metadatablob: &[u8], eventdata: &[u8], pactivityid: *const GUID, prelatedactivityid: *const GUID, eventthread: usize, numstackframes: u32, stackframes: *const usize, ) -> Result<()>
pub unsafe fn EventPipeProviderCreated(&self, provider: usize) -> Result<()>
Methods from Deref<Target = ICorProfilerCallback9>§
pub unsafe fn DynamicMethodUnloaded(&self, functionid: usize) -> Result<()>
Methods from Deref<Target = ICorProfilerCallback8>§
Methods from Deref<Target = ICorProfilerCallback7>§
pub unsafe fn ModuleInMemorySymbolsUpdated(&self, moduleid: usize) -> Result<()>
Methods from Deref<Target = ICorProfilerCallback6>§
pub unsafe fn GetAssemblyReferences<P0, P1>(
&self,
wszassemblypath: P0,
pasmrefprovider: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<ICorProfilerAssemblyReferenceProvider>,
Methods from Deref<Target = ICorProfilerCallback5>§
Methods from Deref<Target = ICorProfilerCallback4>§
pub unsafe fn ReJITCompilationStarted( &self, functionid: usize, rejitid: usize, fissafetoblock: bool, ) -> Result<()>
pub unsafe fn GetReJITParameters<P2>(
&self,
moduleid: usize,
methodid: u32,
pfunctioncontrol: P2,
) -> Result<()>where
P2: Param<ICorProfilerFunctionControl>,
pub unsafe fn ReJITCompilationFinished( &self, functionid: usize, rejitid: usize, hrstatus: HRESULT, fissafetoblock: bool, ) -> Result<()>
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( &self, functionid: usize, fissafetoblock: bool, ) -> Result<()>
pub unsafe fn JITCompilationFinished( &self, functionid: usize, hrstatus: HRESULT, fissafetoblock: bool, ) -> Result<()>
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( &self, pcookie: *const GUID, fisasync: bool, ) -> Result<()>
pub unsafe fn RemotingClientReceivingReply( &self, pcookie: *const GUID, fisasync: bool, ) -> Result<()>
pub unsafe fn RemotingClientInvocationFinished(&self) -> Result<()>
pub unsafe fn RemotingServerReceivingMessage( &self, pcookie: *const GUID, fisasync: bool, ) -> Result<()>
pub unsafe fn RemotingServerInvocationStarted(&self) -> Result<()>
pub unsafe fn RemotingServerInvocationReturned(&self) -> Result<()>
pub unsafe fn RemotingServerSendingReply( &self, pcookie: *const GUID, fisasync: bool, ) -> Result<()>
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 ICorProfilerCallback11
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback10> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback10> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback2> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback2> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback3> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback3> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback4> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback4> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback6> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback6> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback7> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback7> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback8> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback8> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback9> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback9> for ICorProfilerCallback11
§impl CanInto<IUnknown> for ICorProfilerCallback11
impl CanInto<IUnknown> for ICorProfilerCallback11
§impl Clone for ICorProfilerCallback11
impl Clone for ICorProfilerCallback11
§fn clone(&self) -> ICorProfilerCallback11
fn clone(&self) -> ICorProfilerCallback11
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 ICorProfilerCallback11
impl Debug for ICorProfilerCallback11
§impl Deref for ICorProfilerCallback11
impl Deref for ICorProfilerCallback11
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback10
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback10
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback2
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback2
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback3
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback3
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback4
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback4
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> 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<&ICorProfilerCallback11> for &ICorProfilerCallback6
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback6
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback7
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback7
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback8
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback8
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &ICorProfilerCallback9
impl From<&ICorProfilerCallback11> for &ICorProfilerCallback9
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback11> for &IUnknown
impl From<&ICorProfilerCallback11> for &IUnknown
§fn from(value: &ICorProfilerCallback11) -> Self
fn from(value: &ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback
impl From<ICorProfilerCallback11> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback10
impl From<ICorProfilerCallback11> for ICorProfilerCallback10
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback2
impl From<ICorProfilerCallback11> for ICorProfilerCallback2
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback3
impl From<ICorProfilerCallback11> for ICorProfilerCallback3
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback4
impl From<ICorProfilerCallback11> for ICorProfilerCallback4
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> 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<ICorProfilerCallback11> for ICorProfilerCallback6
impl From<ICorProfilerCallback11> for ICorProfilerCallback6
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback7
impl From<ICorProfilerCallback11> for ICorProfilerCallback7
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback8
impl From<ICorProfilerCallback11> for ICorProfilerCallback8
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for ICorProfilerCallback9
impl From<ICorProfilerCallback11> for ICorProfilerCallback9
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback11> for IUnknown
impl From<ICorProfilerCallback11> for IUnknown
§fn from(value: ICorProfilerCallback11) -> Self
fn from(value: ICorProfilerCallback11) -> Self
Converts to this type from the input type.
§impl Interface for ICorProfilerCallback11
impl Interface for ICorProfilerCallback11
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 ICorProfilerCallback11
impl PartialEq for ICorProfilerCallback11
impl Eq for ICorProfilerCallback11
impl StructuralPartialEq for ICorProfilerCallback11
Auto Trait Implementations§
impl Freeze for ICorProfilerCallback11
impl RefUnwindSafe for ICorProfilerCallback11
impl !Send for ICorProfilerCallback11
impl !Sync for ICorProfilerCallback11
impl Unpin for ICorProfilerCallback11
impl UnwindSafe for ICorProfilerCallback11
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