Enum wmi::utils::WMIError[][src]

#[non_exhaustive]pub enum WMIError {
    HResultError {
        hres: HRESULT,
    },
    ParseIntError(ParseIntError),
    ParseDatetimeError(ParseError),
    ConvertError(VARTYPE),
    ConvertVariantError(String),
    ConvertBoolError(i16),
    ConvertStringError(FromUtf16Error),
    ConvertStringNullError(NulError<u16>),
    ConvertDatetimeError(String),
    ConvertDurationError(String),
    ConvertLengthError(u64),
    ConvertAllocateError,
    SerdeError(String),
    DeserializeValueError(Error),
    ResultEmpty,
    NullPointerResult,
    UnimplementedArrayItem,
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HResultError

Fields of HResultError

hres: HRESULT
ParseIntError(ParseIntError)
ParseDatetimeError(ParseError)
ConvertError(VARTYPE)
ConvertVariantError(String)
ConvertBoolError(i16)
ConvertStringError(FromUtf16Error)
ConvertStringNullError(NulError<u16>)
ConvertDatetimeError(String)
ConvertDurationError(String)
ConvertLengthError(u64)
ConvertAllocateError
SerdeError(String)
DeserializeValueError(Error)
ResultEmpty
NullPointerResult
UnimplementedArrayItem

Trait Implementations

impl Debug for WMIError[src]

impl Display for WMIError[src]

impl Error for WMIError[src]

impl Error for WMIError[src]

impl Error for WMIError[src]

impl From<Error> for WMIError[src]

impl From<FromUtf16Error> for WMIError[src]

impl From<NulError<u16>> for WMIError[src]

impl From<ParseError> for WMIError[src]

impl From<ParseIntError> for WMIError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.