Enum oaidl::IntoSafeArrElemError[][src]

pub enum IntoSafeArrElemError {
    BStringAllocFailed {
        len: usize,
    },
    VariantAllocFailed {
        vartype: u32,
    },
    PutElementFailed {
        hr: i32,
    },
    IntoVariantError(Box<IntoVariantError>),
}

Errors for converting into C/C++ data structures from Rust types

Variants

SysAllocStringLen failed with len

Fields of BStringAllocFailed

The len used that failed.

VARIANT allocation failed

Fields of VariantAllocFailed

vartype that failed

SafeArrayPutElement failed with HRESULT

Fields of PutElementFailed

HRESULT returned by SafeArrayPutElement call

Encapsulates a IntoVariantError

Trait Implementations

impl Debug for IntoSafeArrElemError
[src]

Formats the value using the given formatter. Read more

impl From<IntoSafeArrElemError> for ElementError
[src]

Performs the conversion.

impl From<BStringError> for IntoSafeArrElemError
[src]

Performs the conversion.

impl From<IntoVariantError> for IntoSafeArrElemError
[src]

Performs the conversion.

Auto Trait Implementations