pub struct ICorProfilerCallback8(/* private fields */);

Implementations§

§

impl ICorProfilerCallback8

pub unsafe fn DynamicMethodJITCompilationStarted<P0>( &self, functionid: usize, fissafetoblock: P0, pilheader: *const u8, cbilheader: u32, ) -> Result<()>
where P0: Param<BOOL>,

pub unsafe fn DynamicMethodJITCompilationFinished<P0>( &self, functionid: usize, hrstatus: HRESULT, fissafetoblock: P0, ) -> Result<()>
where P0: Param<BOOL>,

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>§

pub unsafe fn ConditionalWeakTableElementReferences( &self, crootrefs: u32, keyrefids: *const usize, valuerefids: *const usize, rootids: *const usize, ) -> Result<()>

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 ICorProfilerCallback8

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback2> for ICorProfilerCallback8

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback3> for ICorProfilerCallback8

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback4> for ICorProfilerCallback8

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback5> for ICorProfilerCallback8

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback6> for ICorProfilerCallback8

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback7> for ICorProfilerCallback8

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback8> for ICorProfilerCallback10

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback8> for ICorProfilerCallback11

§

const QUERY: bool = false

§

impl CanInto<ICorProfilerCallback8> for ICorProfilerCallback9

§

const QUERY: bool = false

§

impl CanInto<IUnknown> for ICorProfilerCallback8

§

const QUERY: bool = false

§

impl Clone for ICorProfilerCallback8

§

fn clone(&self) -> ICorProfilerCallback8

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ICorProfilerCallback8

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Deref for ICorProfilerCallback8

§

type Target = ICorProfilerCallback7

The resulting type after dereferencing.
§

fn deref(&self) -> &Self::Target

Dereferences the value.
§

impl From<&ICorProfilerCallback10> for &ICorProfilerCallback8

§

fn from(value: &ICorProfilerCallback10) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback11> for &ICorProfilerCallback8

§

fn from(value: &ICorProfilerCallback11) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &ICorProfilerCallback

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &ICorProfilerCallback2

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &ICorProfilerCallback3

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &ICorProfilerCallback4

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &ICorProfilerCallback5

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &ICorProfilerCallback6

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &ICorProfilerCallback7

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback8> for &IUnknown

§

fn from(value: &ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<&ICorProfilerCallback9> for &ICorProfilerCallback8

§

fn from(value: &ICorProfilerCallback9) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback10> for ICorProfilerCallback8

§

fn from(value: ICorProfilerCallback10) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback11> for ICorProfilerCallback8

§

fn from(value: ICorProfilerCallback11) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for ICorProfilerCallback

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for ICorProfilerCallback2

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for ICorProfilerCallback3

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for ICorProfilerCallback4

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for ICorProfilerCallback5

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for ICorProfilerCallback6

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for ICorProfilerCallback7

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback8> for IUnknown

§

fn from(value: ICorProfilerCallback8) -> Self

Converts to this type from the input type.
§

impl From<ICorProfilerCallback9> for ICorProfilerCallback8

§

fn from(value: ICorProfilerCallback9) -> Self

Converts to this type from the input type.
§

impl Interface for ICorProfilerCallback8

§

const IID: GUID = _

The GUID associated with the interface.
§

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

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

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>,

This casts the given COM interface to [&dyn Any]. Read more
§

fn is_object<T>(&self) -> bool
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

Returns true if the given COM interface refers to an implementation of T. Read more
§

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>,

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>

Attempts to create a [Weak] reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

fn to_ref(&self) -> InterfaceRef<'_, Self>

Creates an InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically, and eliminates the need for dynamic reference count adjustments (AddRef/Release).
§

impl PartialEq for ICorProfilerCallback8

§

fn eq(&self, other: &ICorProfilerCallback8) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for ICorProfilerCallback8

§

impl StructuralPartialEq for ICorProfilerCallback8

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.