Enum oaidl::FromVariantError[][src]

pub enum FromVariantError {
    VarTypeDoesNotMatch {
        expected: u32,
        found: u32,
    },
    AllocBStr(BStringError),
    UnknownPtrNull,
    DispatchPtrNull,
    VariantPtrNull,
    ArrayPtrNull,
    CVoidPtrNull,
    SafeArrConvFailed(Box<SafeArrayError>),
}

Encapsulates the ways converting from a VARIANT can fail.

Variants

Expected vartype did not match found vartype - runtime consistency check

Fields of VarTypeDoesNotMatch

The expected vartype

the found vartype

Encapsulates BString errors

IUnknown pointer during conversion was null

IDispatch pointer during conversion was null

VARIANT pointer during conversion was null

SAFEARRAY pointer during conversion was null

*mut c_void pointer during conversion was null

Conversion into SAFEARRAY failed.

Trait Implementations

impl Debug for FromVariantError
[src]

Formats the value using the given formatter. Read more

impl<I: Into<SafeArrayError>> From<I> for FromVariantError
[src]

Performs the conversion.

Auto Trait Implementations