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
Auto Trait Implementations§
impl RefUnwindSafe for IntoSafeArrElemError
impl Send for IntoSafeArrElemError
impl Sync for IntoSafeArrElemError
impl Unpin for IntoSafeArrElemError
impl UnwindSafe for IntoSafeArrElemError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, F> TryConvert<T, F> for Twhere
T: From<T>,
F: Fail,
impl<T, F> TryConvert<T, F> for Twhere T: From<T>, F: Fail,
source§fn try_convert(val: T) -> Result<T, F>
fn try_convert(val: T) -> Result<T, F>
Blanket TryConvert implementation wherever a From