Enum oaidl::IntoSafeArrElemError
source · pub enum IntoSafeArrElemError {
BStringFailed(Box<BStringError>),
PutElementFailed {
hr: i32,
},
IntoVariantError(Box<IntoVariantError>),
}
Expand description
Errors for converting into C/C++ data structures from Rust types
Variants§
BStringFailed(Box<BStringError>)
SysAllocStringLen
failed with len
PutElementFailed
SafeArrayPutElement
failed with HRESULT
IntoVariantError(Box<IntoVariantError>)
Encapsulates a IntoVariantError
Trait Implementations§
source§impl Debug for IntoSafeArrElemError
impl Debug for IntoSafeArrElemError
source§impl Display for IntoSafeArrElemError
impl Display for IntoSafeArrElemError
source§impl Fail for IntoSafeArrElemError
impl Fail for IntoSafeArrElemError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresource§impl From<BStringError> for IntoSafeArrElemError
impl From<BStringError> for IntoSafeArrElemError
source§fn from(bse: BStringError) -> IntoSafeArrElemError
fn from(bse: BStringError) -> IntoSafeArrElemError
Boxes a BStringError
into an IntoSafeArrElemError
. This means the conversion is free.
source§impl From<IntoSafeArrElemError> for ElementError
impl From<IntoSafeArrElemError> for ElementError
source§fn from(isaee: IntoSafeArrElemError) -> ElementError
fn from(isaee: IntoSafeArrElemError) -> ElementError
Holds a IntoSafeArrElemError
with a box. This means conversion is free.
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