Struct winrt::windows::foundation::diagnostics::ErrorDetails
source · pub struct ErrorDetails(_);
Implementations§
source§impl ErrorDetails
impl ErrorDetails
pub fn create_from_hresult_async(
errorCode: i32
) -> Result<ComPtr<IAsyncOperation<ErrorDetails>>>
Methods from Deref<Target = IErrorDetails>§
pub fn get_description(&self) -> Result<HString>
pub fn get_long_description(&self) -> Result<HString>
pub fn get_help_uri(&self) -> Result<Option<ComPtr<Uri>>>
Methods from Deref<Target = IInspectable>§
sourcepub fn get_iids(&self) -> ComArray<Guid>
pub fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
sourcepub fn get_trust_level(&self) -> TrustLevel
pub fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl ComInterface for ErrorDetails
impl ComInterface for ErrorDetails
§type Vtbl = <IErrorDetails as ComInterface>::Vtbl
type Vtbl = <IErrorDetails as ComInterface>::Vtbl
The type that defines the VTable of this interface.
source§impl Deref for ErrorDetails
impl Deref for ErrorDetails
§type Target = IErrorDetails
type Target = IErrorDetails
The resulting type after dereferencing.
source§fn deref(&self) -> &IErrorDetails
fn deref(&self) -> &IErrorDetails
Dereferences the value.
source§impl DerefMut for ErrorDetails
impl DerefMut for ErrorDetails
source§fn deref_mut(&mut self) -> &mut IErrorDetails
fn deref_mut(&mut self) -> &mut IErrorDetails
Mutably dereferences the value.
source§impl RtActivatable<IErrorDetailsStatics> for ErrorDetails
impl RtActivatable<IErrorDetailsStatics> for ErrorDetails
source§fn get_activation_factory() -> ComPtr<Interface>where
Interface: RtInterface + ComIid,
fn get_activation_factory() -> ComPtr<Interface>where
Interface: RtInterface + ComIid,
Returns a factory object to create instances of this class or to call static methods.