Enum oaidl::FromSafeArrElemError[][src]

pub enum FromSafeArrElemError {
    GetElementFailed {
        hr: i32,
    },
    VariantPtrNull,
    FromVariantFailed,
    UnknownPtrNull,
    DispatchPtrNull,
}

Errors for converting from C/C++ data structure to Rust types

Variants

The unsafe call to SafeArrayGetElement failed - HRESULT stored within tells why

Fields of GetElementFailed

Holds an HRESULT value

VARIANT pointer during conversion was null

The call to .into_variant() failed for some reason

IUnknown pointer during conversion was null

IDispatch pointer during conversion was null

Trait Implementations

impl Copy for FromSafeArrElemError
[src]

impl Clone for FromSafeArrElemError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for FromSafeArrElemError
[src]

Formats the value using the given formatter. Read more

impl From<FromSafeArrElemError> for ElementError
[src]

Performs the conversion.

Auto Trait Implementations