Struct ICorProfilerCallback
pub struct ICorProfilerCallback(/* private fields */);
Implementations§
§impl ICorProfilerCallback
impl 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 ICorProfilerCallback10
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback10
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback11
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback11
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback2
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback2
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback3
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback3
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback4
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback4
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback5
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback5
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback6
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback6
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback7
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback7
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback8
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback8
§impl CanInto<ICorProfilerCallback> for ICorProfilerCallback9
impl CanInto<ICorProfilerCallback> for ICorProfilerCallback9
§impl CanInto<IUnknown> for ICorProfilerCallback
impl CanInto<IUnknown> for ICorProfilerCallback
§impl Clone for ICorProfilerCallback
impl Clone for ICorProfilerCallback
§fn clone(&self) -> ICorProfilerCallback
fn clone(&self) -> ICorProfilerCallback
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 ICorProfilerCallback
impl Debug for ICorProfilerCallback
§impl From<&ICorProfilerCallback> for &IUnknown
impl From<&ICorProfilerCallback> for &IUnknown
§fn from(value: &ICorProfilerCallback) -> Self
fn from(value: &ICorProfilerCallback) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback10> for &ICorProfilerCallback
impl From<&ICorProfilerCallback10> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback10) -> Self
fn from(value: &ICorProfilerCallback10) -> 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<&ICorProfilerCallback2> for &ICorProfilerCallback
impl From<&ICorProfilerCallback2> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback2) -> Self
fn from(value: &ICorProfilerCallback2) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback3> for &ICorProfilerCallback
impl From<&ICorProfilerCallback3> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback3) -> Self
fn from(value: &ICorProfilerCallback3) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback4> for &ICorProfilerCallback
impl From<&ICorProfilerCallback4> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback4) -> Self
fn from(value: &ICorProfilerCallback4) -> 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<&ICorProfilerCallback6> for &ICorProfilerCallback
impl From<&ICorProfilerCallback6> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback6) -> Self
fn from(value: &ICorProfilerCallback6) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback7> for &ICorProfilerCallback
impl From<&ICorProfilerCallback7> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback7) -> Self
fn from(value: &ICorProfilerCallback7) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback8> for &ICorProfilerCallback
impl From<&ICorProfilerCallback8> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback8) -> Self
fn from(value: &ICorProfilerCallback8) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerCallback9> for &ICorProfilerCallback
impl From<&ICorProfilerCallback9> for &ICorProfilerCallback
§fn from(value: &ICorProfilerCallback9) -> Self
fn from(value: &ICorProfilerCallback9) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback> for IUnknown
impl From<ICorProfilerCallback> for IUnknown
§fn from(value: ICorProfilerCallback) -> Self
fn from(value: ICorProfilerCallback) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback10> for ICorProfilerCallback
impl From<ICorProfilerCallback10> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback10) -> Self
fn from(value: ICorProfilerCallback10) -> 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<ICorProfilerCallback2> for ICorProfilerCallback
impl From<ICorProfilerCallback2> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback2) -> Self
fn from(value: ICorProfilerCallback2) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback3> for ICorProfilerCallback
impl From<ICorProfilerCallback3> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback3) -> Self
fn from(value: ICorProfilerCallback3) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback4> for ICorProfilerCallback
impl From<ICorProfilerCallback4> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback4) -> Self
fn from(value: ICorProfilerCallback4) -> 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<ICorProfilerCallback6> for ICorProfilerCallback
impl From<ICorProfilerCallback6> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback6) -> Self
fn from(value: ICorProfilerCallback6) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback7> for ICorProfilerCallback
impl From<ICorProfilerCallback7> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback7) -> Self
fn from(value: ICorProfilerCallback7) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback8> for ICorProfilerCallback
impl From<ICorProfilerCallback8> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback8) -> Self
fn from(value: ICorProfilerCallback8) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerCallback9> for ICorProfilerCallback
impl From<ICorProfilerCallback9> for ICorProfilerCallback
§fn from(value: ICorProfilerCallback9) -> Self
fn from(value: ICorProfilerCallback9) -> Self
Converts to this type from the input type.
§impl Interface for ICorProfilerCallback
impl Interface for ICorProfilerCallback
§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 ICorProfilerCallback
impl PartialEq for ICorProfilerCallback
impl Eq for ICorProfilerCallback
impl StructuralPartialEq for ICorProfilerCallback
Auto Trait Implementations§
impl Freeze for ICorProfilerCallback
impl RefUnwindSafe for ICorProfilerCallback
impl !Send for ICorProfilerCallback
impl !Sync for ICorProfilerCallback
impl Unpin for ICorProfilerCallback
impl UnwindSafe for ICorProfilerCallback
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