Enum oaidl::ConversionError
source · pub enum ConversionError {
PtrWasNull,
General(Box<Error>),
}
Expand description
Errors which can arise primarily from using Conversion::convert
calls
Variants§
PtrWasNull
Ptr being used was null
General(Box<Error>)
General purpose holder of failure::Error
values
Trait Implementations§
source§impl Debug for ConversionError
impl Debug for ConversionError
source§impl Display for ConversionError
impl Display for ConversionError
source§impl Fail for ConversionError
impl Fail for ConversionError
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 TryConvert<*mut i16, ConversionError> for Box<VariantBool>
impl TryConvert<*mut i16, ConversionError> for Box<VariantBool>
source§fn try_convert(p: *mut VARIANT_BOOL) -> Result<Self, ConversionError>
fn try_convert(p: *mut VARIANT_BOOL) -> Result<Self, ConversionError>
Utility method which can fail.
Auto Trait Implementations§
impl !RefUnwindSafe for ConversionError
impl Send for ConversionError
impl Sync for ConversionError
impl Unpin for ConversionError
impl !UnwindSafe for ConversionError
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