Enum oaidl::IntoVariantError
source · pub enum IntoVariantError {
AllocBStrFailed(Box<BStringError>),
SafeArrConvFailed(Box<SafeArrayError>),
}
Expand description
Encapsulates errors that can occur during conversion into VARIANT
Variants§
AllocBStrFailed(Box<BStringError>)
Encapsulates a BStringError
SafeArrConvFailed(Box<SafeArrayError>)
Encapsulates a SafeArrayError
Trait Implementations§
source§impl Debug for IntoVariantError
impl Debug for IntoVariantError
source§impl Display for IntoVariantError
impl Display for IntoVariantError
source§impl Fail for IntoVariantError
impl Fail for IntoVariantError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Backtrace
carried by this failure, if it
carries one. Read moresource§impl From<BStringError> for IntoVariantError
impl From<BStringError> for IntoVariantError
source§fn from(bse: BStringError) -> IntoVariantError
fn from(bse: BStringError) -> IntoVariantError
Boxes a BStringError
into a FromSafeArrElemError
. This means the conversion is free.
source§impl From<IntoVariantError> for ElementError
impl From<IntoVariantError> for ElementError
source§fn from(ive: IntoVariantError) -> Self
fn from(ive: IntoVariantError) -> Self
Uses From impls on IntoSafeArrElemError] and [
ElementError` to convert the error.
source§impl From<IntoVariantError> for IntoSafeArrElemError
impl From<IntoVariantError> for IntoSafeArrElemError
source§fn from(ive: IntoVariantError) -> IntoSafeArrElemError
fn from(ive: IntoVariantError) -> IntoSafeArrElemError
Boxes an IntoVariantError
into an IntoSafeArrElemError
source§impl From<IntoVariantError> for IntoSafeArrayError
impl From<IntoVariantError> for IntoSafeArrayError
source§fn from(ive: IntoVariantError) -> Self
fn from(ive: IntoVariantError) -> Self
Boxes a FromVariantError
into a FromSafeArrElemError
which means the conversion is free.
source§impl<'c> TryConvert<&'c Currency, IntoVariantError> for CY
impl<'c> TryConvert<&'c Currency, IntoVariantError> for CY
source§fn try_convert(val: &'c Currency) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c Currency) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c Date, IntoVariantError> for f64
impl<'c> TryConvert<&'c Date, IntoVariantError> for f64
source§fn try_convert(val: &'c Date) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c Date) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c DecWrapper, IntoVariantError> for DECIMAL
impl<'c> TryConvert<&'c DecWrapper, IntoVariantError> for DECIMAL
source§fn try_convert(val: &'c DecWrapper) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c DecWrapper) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c Int, IntoVariantError> for i32
impl<'c> TryConvert<&'c Int, IntoVariantError> for i32
source§fn try_convert(val: &'c Int) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c Int) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c SCode, IntoVariantError> for i32
impl<'c> TryConvert<&'c SCode, IntoVariantError> for i32
source§fn try_convert(val: &'c SCode) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c SCode) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c UInt, IntoVariantError> for u32
impl<'c> TryConvert<&'c UInt, IntoVariantError> for u32
source§fn try_convert(val: &'c UInt) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c UInt) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c VariantBool, IntoVariantError> for VARIANT_BOOL
impl<'c> TryConvert<&'c VariantBool, IntoVariantError> for VARIANT_BOOL
source§fn try_convert(val: &'c VariantBool) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c VariantBool) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c VariantBool, IntoVariantError> for bool
impl<'c> TryConvert<&'c VariantBool, IntoVariantError> for bool
source§fn try_convert(val: &'c VariantBool) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c VariantBool) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut Currency, IntoVariantError> for CY
impl<'c> TryConvert<&'c mut Currency, IntoVariantError> for CY
source§fn try_convert(val: &'c mut Currency) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut Currency) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut Date, IntoVariantError> for f64
impl<'c> TryConvert<&'c mut Date, IntoVariantError> for f64
source§fn try_convert(val: &'c mut Date) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut Date) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut DecWrapper, IntoVariantError> for DECIMAL
impl<'c> TryConvert<&'c mut DecWrapper, IntoVariantError> for DECIMAL
source§fn try_convert(val: &'c mut DecWrapper) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut DecWrapper) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut Int, IntoVariantError> for i32
impl<'c> TryConvert<&'c mut Int, IntoVariantError> for i32
source§fn try_convert(val: &'c mut Int) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut Int) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut SCode, IntoVariantError> for i32
impl<'c> TryConvert<&'c mut SCode, IntoVariantError> for i32
source§fn try_convert(val: &'c mut SCode) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut SCode) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut UInt, IntoVariantError> for u32
impl<'c> TryConvert<&'c mut UInt, IntoVariantError> for u32
source§fn try_convert(val: &'c mut UInt) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut UInt) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut VariantBool, IntoVariantError> for VARIANT_BOOL
impl<'c> TryConvert<&'c mut VariantBool, IntoVariantError> for VARIANT_BOOL
source§fn try_convert(val: &'c mut VariantBool) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut VariantBool) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut VariantBool, IntoVariantError> for bool
impl<'c> TryConvert<&'c mut VariantBool, IntoVariantError> for bool
source§fn try_convert(val: &'c mut VariantBool) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut VariantBool) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<Box<Currency, Global>, IntoVariantError> for *mut CY
impl TryConvert<Box<Currency, Global>, IntoVariantError> for *mut CY
source§fn try_convert(b: Box<Currency>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<Currency>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<Date, Global>, IntoVariantError> for *mut f64
impl TryConvert<Box<Date, Global>, IntoVariantError> for *mut f64
source§fn try_convert(b: Box<Date>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<Date>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<Int, Global>, IntoVariantError> for *mut i32
impl TryConvert<Box<Int, Global>, IntoVariantError> for *mut i32
source§fn try_convert(b: Box<Int>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<Int>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<SCode, Global>, IntoVariantError> for *mut i32
impl TryConvert<Box<SCode, Global>, IntoVariantError> for *mut i32
source§fn try_convert(b: Box<SCode>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<SCode>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<UInt, Global>, IntoVariantError> for *mut u32
impl TryConvert<Box<UInt, Global>, IntoVariantError> for *mut u32
source§fn try_convert(b: Box<UInt>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<UInt>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<VariantBool, Global>, IntoVariantError> for *mut VARIANT_BOOL
impl TryConvert<Box<VariantBool, Global>, IntoVariantError> for *mut VARIANT_BOOL
source§fn try_convert(b: Box<VariantBool>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<VariantBool>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<f32, Global>, IntoVariantError> for *mut f32
impl TryConvert<Box<f32, Global>, IntoVariantError> for *mut f32
source§fn try_convert(b: Box<f32>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<f32>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<f64, Global>, IntoVariantError> for *mut f64
impl TryConvert<Box<f64, Global>, IntoVariantError> for *mut f64
source§fn try_convert(b: Box<f64>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<f64>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<i16, Global>, IntoVariantError> for *mut i16
impl TryConvert<Box<i16, Global>, IntoVariantError> for *mut i16
source§fn try_convert(b: Box<i16>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<i16>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<i32, Global>, IntoVariantError> for *mut i32
impl TryConvert<Box<i32, Global>, IntoVariantError> for *mut i32
source§fn try_convert(b: Box<i32>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<i32>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<i64, Global>, IntoVariantError> for *mut i64
impl TryConvert<Box<i64, Global>, IntoVariantError> for *mut i64
source§fn try_convert(b: Box<i64>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<i64>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<i8, Global>, IntoVariantError> for *mut i8
impl TryConvert<Box<i8, Global>, IntoVariantError> for *mut i8
source§fn try_convert(b: Box<i8>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<i8>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<u16, Global>, IntoVariantError> for *mut u16
impl TryConvert<Box<u16, Global>, IntoVariantError> for *mut u16
source§fn try_convert(b: Box<u16>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<u16>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<u32, Global>, IntoVariantError> for *mut u32
impl TryConvert<Box<u32, Global>, IntoVariantError> for *mut u32
source§fn try_convert(b: Box<u32>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<u32>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<u64, Global>, IntoVariantError> for *mut u64
impl TryConvert<Box<u64, Global>, IntoVariantError> for *mut u64
source§fn try_convert(b: Box<u64>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<u64>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Box<u8, Global>, IntoVariantError> for *mut u8
impl TryConvert<Box<u8, Global>, IntoVariantError> for *mut u8
source§fn try_convert(b: Box<u8>) -> Result<Self, IntoVariantError>
fn try_convert(b: Box<u8>) -> Result<Self, IntoVariantError>
source§impl TryConvert<Currency, IntoVariantError> for CY
impl TryConvert<Currency, IntoVariantError> for CY
source§fn try_convert(val: Currency) -> Result<Self, IntoVariantError>
fn try_convert(val: Currency) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<Date, IntoVariantError> for f64
impl TryConvert<Date, IntoVariantError> for f64
source§fn try_convert(val: Date) -> Result<Self, IntoVariantError>
fn try_convert(val: Date) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<DecWrapper, IntoVariantError> for DECIMAL
impl TryConvert<DecWrapper, IntoVariantError> for DECIMAL
source§fn try_convert(val: DecWrapper) -> Result<Self, IntoVariantError>
fn try_convert(val: DecWrapper) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<Int, IntoVariantError> for i32
impl TryConvert<Int, IntoVariantError> for i32
source§fn try_convert(val: Int) -> Result<Self, IntoVariantError>
fn try_convert(val: Int) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<SCode, IntoVariantError> for i32
impl TryConvert<SCode, IntoVariantError> for i32
source§fn try_convert(val: SCode) -> Result<Self, IntoVariantError>
fn try_convert(val: SCode) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<UInt, IntoVariantError> for u32
impl TryConvert<UInt, IntoVariantError> for u32
source§fn try_convert(val: UInt) -> Result<Self, IntoVariantError>
fn try_convert(val: UInt) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<UString<u16>, IntoVariantError> for BSTR
impl TryConvert<UString<u16>, IntoVariantError> for BSTR
source§fn try_convert(u: U16String) -> Result<Self, IntoVariantError>
fn try_convert(u: U16String) -> Result<Self, IntoVariantError>
source§impl<D, T> TryConvert<Variant<D, T>, IntoVariantError> for Ptr<VARIANT>where
D: VariantExt<T>,
impl<D, T> TryConvert<Variant<D, T>, IntoVariantError> for Ptr<VARIANT>where
D: VariantExt<T>,
source§fn try_convert(v: Variant<D, T>) -> Result<Self, IntoVariantError>
fn try_convert(v: Variant<D, T>) -> Result<Self, IntoVariantError>
Converts a Variant<D, T>
to a Ptr<VARIANT>
where D: VariantExt<T>
This converts the value inside Variant into a Ptr
source§impl TryConvert<VariantBool, IntoVariantError> for VARIANT_BOOL
impl TryConvert<VariantBool, IntoVariantError> for VARIANT_BOOL
source§fn try_convert(val: VariantBool) -> Result<Self, IntoVariantError>
fn try_convert(val: VariantBool) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<VariantBool, IntoVariantError> for bool
impl TryConvert<VariantBool, IntoVariantError> for bool
source§fn try_convert(val: VariantBool) -> Result<Self, IntoVariantError>
fn try_convert(val: VariantBool) -> Result<Self, IntoVariantError>
Does not return any errors.