Enum oaidl::IntoSafeArrayError[][src]

pub enum IntoSafeArrayError {
    ElementConversionFailed {
        index: usize,
        element: Box<ElementError>,
    },
    SafeArrayCreateFailed,
}

Represents the different ways converting into SAFEARRAY can fail

Variants

Encapsulates the ElementError that occurred during conversion

Fields of ElementConversionFailed

the index the conversion failed at

The element error encapsulating the failure

The called to SafeArrayCreate failed

Methods

impl IntoSafeArrayError
[src]

converts an ElementError into a FromSafeArrayError Need the index so a From impl doesn't apply

Trait Implementations

impl Debug for IntoSafeArrayError
[src]

Formats the value using the given formatter. Read more

impl From<IntoSafeArrayError> for SafeArrayError
[src]

Performs the conversion.

Auto Trait Implementations