Struct ICorProfilerInfo
pub struct ICorProfilerInfo(/* private fields */);
Implementations§
§impl ICorProfilerInfo
impl ICorProfilerInfo
pub unsafe fn GetClassFromObject(&self, objectid: usize) -> Result<usize>
pub unsafe fn GetClassFromToken( &self, moduleid: usize, typedef: u32, ) -> Result<usize>
pub unsafe fn GetCodeInfo( &self, functionid: usize, pstart: *mut *mut u8, pcsize: *mut u32, ) -> Result<()>
pub unsafe fn GetEventMask(&self) -> Result<u32>
pub unsafe fn GetFunctionFromIP(&self, ip: *const u8) -> Result<usize>
pub unsafe fn GetFunctionFromToken( &self, moduleid: usize, token: u32, ) -> Result<usize>
pub unsafe fn GetHandleFromThread(&self, threadid: usize) -> Result<HANDLE>
pub unsafe fn GetObjectSize(&self, objectid: usize) -> Result<u32>
pub unsafe fn IsArrayClass( &self, classid: usize, pbaseelemtype: *mut CorElementType, pbaseclassid: *mut usize, pcrank: *mut u32, ) -> Result<()>
pub unsafe fn GetThreadInfo(&self, threadid: usize) -> Result<u32>
pub unsafe fn GetCurrentThreadID(&self) -> Result<usize>
pub unsafe fn GetClassIDInfo( &self, classid: usize, pmoduleid: *mut usize, ptypedeftoken: *mut u32, ) -> Result<()>
pub unsafe fn GetFunctionInfo( &self, functionid: usize, pclassid: *mut usize, pmoduleid: *mut usize, ptoken: *mut u32, ) -> Result<()>
pub unsafe fn SetEventMask(&self, dwevents: u32) -> Result<()>
pub unsafe fn SetEnterLeaveFunctionHooks( &self, pfuncenter: *const FunctionEnter, pfuncleave: *const FunctionLeave, pfunctailcall: *const FunctionTailcall, ) -> Result<()>
pub unsafe fn SetFunctionIDMapper( &self, pfunc: *const FunctionIDMapper, ) -> Result<()>
pub unsafe fn GetTokenAndMetaDataFromFunction( &self, functionid: usize, riid: *const GUID, ppimport: *mut Option<IUnknown>, ptoken: *mut u32, ) -> Result<()>
pub unsafe fn GetModuleInfo( &self, moduleid: usize, ppbaseloadaddress: *mut *mut u8, pcchname: *mut u32, szname: &mut [u16], passemblyid: *mut usize, ) -> Result<()>
pub unsafe fn GetModuleMetaData( &self, moduleid: usize, dwopenflags: u32, riid: *const GUID, ) -> Result<IUnknown>
pub unsafe fn GetILFunctionBody( &self, moduleid: usize, methodid: u32, ppmethodheader: *mut *mut u8, pcbmethodsize: *mut u32, ) -> Result<()>
pub unsafe fn GetILFunctionBodyAllocator( &self, moduleid: usize, ) -> Result<IMethodMalloc>
pub unsafe fn SetILFunctionBody( &self, moduleid: usize, methodid: u32, pbnewilmethodheader: *const u8, ) -> Result<()>
pub unsafe fn GetAppDomainInfo( &self, appdomainid: usize, pcchname: *mut u32, szname: &mut [u16], pprocessid: *mut usize, ) -> Result<()>
pub unsafe fn GetAssemblyInfo( &self, assemblyid: usize, pcchname: *mut u32, szname: &mut [u16], pappdomainid: *mut usize, pmoduleid: *mut usize, ) -> Result<()>
pub unsafe fn SetFunctionReJIT(&self, functionid: usize) -> Result<()>
pub unsafe fn ForceGC(&self) -> Result<()>
pub unsafe fn SetILInstrumentedCodeMap( &self, functionid: usize, fstartjit: bool, rgilmapentries: &[COR_IL_MAP], ) -> Result<()>
pub unsafe fn GetInprocInspectionInterface(&self) -> Result<IUnknown>
pub unsafe fn GetInprocInspectionIThisThread(&self) -> Result<IUnknown>
pub unsafe fn GetThreadContext(&self, threadid: usize) -> Result<usize>
pub unsafe fn BeginInprocDebugging(&self, fthisthreadonly: bool) -> Result<u32>
pub unsafe fn EndInprocDebugging(&self, dwprofilercontext: u32) -> Result<()>
pub unsafe fn GetILToNativeMapping( &self, functionid: usize, pcmap: *mut u32, map: &mut [COR_DEBUG_IL_TO_NATIVE_MAP], ) -> Result<()>
Trait Implementations§
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo10
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo10
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo11
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo11
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo12
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo12
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo13
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo13
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo14
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo14
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo2
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo2
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo3
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo3
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo4
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo4
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo5
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo5
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo6
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo6
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo7
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo7
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo8
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo8
§impl CanInto<ICorProfilerInfo> for ICorProfilerInfo9
impl CanInto<ICorProfilerInfo> for ICorProfilerInfo9
§impl CanInto<IUnknown> for ICorProfilerInfo
impl CanInto<IUnknown> for ICorProfilerInfo
§impl Clone for ICorProfilerInfo
impl Clone for ICorProfilerInfo
§fn clone(&self) -> ICorProfilerInfo
fn clone(&self) -> ICorProfilerInfo
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 ICorProfilerInfo
impl Debug for ICorProfilerInfo
§impl From<&ICorProfilerInfo> for &IUnknown
impl From<&ICorProfilerInfo> for &IUnknown
§fn from(value: &ICorProfilerInfo) -> Self
fn from(value: &ICorProfilerInfo) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo10> for &ICorProfilerInfo
impl From<&ICorProfilerInfo10> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo10) -> Self
fn from(value: &ICorProfilerInfo10) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo11> for &ICorProfilerInfo
impl From<&ICorProfilerInfo11> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo11) -> Self
fn from(value: &ICorProfilerInfo11) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo12> for &ICorProfilerInfo
impl From<&ICorProfilerInfo12> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo12) -> Self
fn from(value: &ICorProfilerInfo12) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo13> for &ICorProfilerInfo
impl From<&ICorProfilerInfo13> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo13) -> Self
fn from(value: &ICorProfilerInfo13) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo14> for &ICorProfilerInfo
impl From<&ICorProfilerInfo14> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo14) -> Self
fn from(value: &ICorProfilerInfo14) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo2> for &ICorProfilerInfo
impl From<&ICorProfilerInfo2> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo2) -> Self
fn from(value: &ICorProfilerInfo2) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo3> for &ICorProfilerInfo
impl From<&ICorProfilerInfo3> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo3) -> Self
fn from(value: &ICorProfilerInfo3) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo4> for &ICorProfilerInfo
impl From<&ICorProfilerInfo4> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo4) -> Self
fn from(value: &ICorProfilerInfo4) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo5> for &ICorProfilerInfo
impl From<&ICorProfilerInfo5> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo5) -> Self
fn from(value: &ICorProfilerInfo5) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo6> for &ICorProfilerInfo
impl From<&ICorProfilerInfo6> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo6) -> Self
fn from(value: &ICorProfilerInfo6) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo7> for &ICorProfilerInfo
impl From<&ICorProfilerInfo7> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo7) -> Self
fn from(value: &ICorProfilerInfo7) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo8> for &ICorProfilerInfo
impl From<&ICorProfilerInfo8> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo8) -> Self
fn from(value: &ICorProfilerInfo8) -> Self
Converts to this type from the input type.
§impl From<&ICorProfilerInfo9> for &ICorProfilerInfo
impl From<&ICorProfilerInfo9> for &ICorProfilerInfo
§fn from(value: &ICorProfilerInfo9) -> Self
fn from(value: &ICorProfilerInfo9) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo> for IUnknown
impl From<ICorProfilerInfo> for IUnknown
§fn from(value: ICorProfilerInfo) -> Self
fn from(value: ICorProfilerInfo) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo10> for ICorProfilerInfo
impl From<ICorProfilerInfo10> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo10) -> Self
fn from(value: ICorProfilerInfo10) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo11> for ICorProfilerInfo
impl From<ICorProfilerInfo11> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo11) -> Self
fn from(value: ICorProfilerInfo11) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo12> for ICorProfilerInfo
impl From<ICorProfilerInfo12> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo12) -> Self
fn from(value: ICorProfilerInfo12) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo13> for ICorProfilerInfo
impl From<ICorProfilerInfo13> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo13) -> Self
fn from(value: ICorProfilerInfo13) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo14> for ICorProfilerInfo
impl From<ICorProfilerInfo14> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo14) -> Self
fn from(value: ICorProfilerInfo14) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo2> for ICorProfilerInfo
impl From<ICorProfilerInfo2> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo2) -> Self
fn from(value: ICorProfilerInfo2) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo3> for ICorProfilerInfo
impl From<ICorProfilerInfo3> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo3) -> Self
fn from(value: ICorProfilerInfo3) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo4> for ICorProfilerInfo
impl From<ICorProfilerInfo4> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo4) -> Self
fn from(value: ICorProfilerInfo4) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo5> for ICorProfilerInfo
impl From<ICorProfilerInfo5> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo5) -> Self
fn from(value: ICorProfilerInfo5) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo6> for ICorProfilerInfo
impl From<ICorProfilerInfo6> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo6) -> Self
fn from(value: ICorProfilerInfo6) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo7> for ICorProfilerInfo
impl From<ICorProfilerInfo7> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo7) -> Self
fn from(value: ICorProfilerInfo7) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo8> for ICorProfilerInfo
impl From<ICorProfilerInfo8> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo8) -> Self
fn from(value: ICorProfilerInfo8) -> Self
Converts to this type from the input type.
§impl From<ICorProfilerInfo9> for ICorProfilerInfo
impl From<ICorProfilerInfo9> for ICorProfilerInfo
§fn from(value: ICorProfilerInfo9) -> Self
fn from(value: ICorProfilerInfo9) -> Self
Converts to this type from the input type.
§impl Interface for ICorProfilerInfo
impl Interface for ICorProfilerInfo
§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 ICorProfilerInfo
impl PartialEq for ICorProfilerInfo
impl Eq for ICorProfilerInfo
impl StructuralPartialEq for ICorProfilerInfo
Auto Trait Implementations§
impl Freeze for ICorProfilerInfo
impl RefUnwindSafe for ICorProfilerInfo
impl !Send for ICorProfilerInfo
impl !Sync for ICorProfilerInfo
impl Unpin for ICorProfilerInfo
impl UnwindSafe for ICorProfilerInfo
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