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
VarTypeDoesNotMatch
Expected vartype did not match found vartype - runtime consistency check
Fields of VarTypeDoesNotMatch
expected: u32 | The expected vartype |
found: u32 | the found vartype |
AllocBStr(BStringError)
Encapsulates BString errors
UnknownPtrNull
IUnknown
pointer during conversion was null
DispatchPtrNull
IDispatch
pointer during conversion was null
VariantPtrNull
VARIANT
pointer during conversion was null
ArrayPtrNull
SAFEARRAY
pointer during conversion was null
CVoidPtrNull
*mut c_void
pointer during conversion was null
SafeArrConvFailed(Box<SafeArrayError>)
Conversion into SAFEARRAY
failed.
Trait Implementations
impl Debug for FromVariantError
[src]
impl Debug for FromVariantError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<I: Into<SafeArrayError>> From<I> for FromVariantError
[src]
impl<I: Into<SafeArrayError>> From<I> for FromVariantError
fn from(i: I) -> FromVariantError
[src]
fn from(i: I) -> FromVariantError
Performs the conversion.
Auto Trait Implementations
impl Send for FromVariantError
impl Send for FromVariantError
impl Sync for FromVariantError
impl Sync for FromVariantError