[][src]Struct wmi::result_enumerator::IWbemClassWrapper

pub struct IWbemClassWrapper {
    pub inner: Option<Unique<IWbemClassObject>>,
}

A wrapper around a raw pointer to IWbemClassObject, which also takes care of releasing the object when dropped.

Fields

inner: Option<Unique<IWbemClassObject>>

Methods

impl IWbemClassWrapper[src]

pub fn new(ptr: Option<Unique<IWbemClassObject>>) -> Self[src]

pub fn list_properties(&self) -> Result<Vec<String>, Error>[src]

Return the names of all the properties of the given object.

pub fn get_property(&self, property_name: &str) -> Result<Variant, Error>[src]

pub fn path(&self) -> Result<String, Error>[src]

pub fn class(&self) -> Result<String, Error>[src]

pub fn into_desr<T>(self) -> Result<T, Error> where
    T: DeserializeOwned
[src]

Trait Implementations

impl Drop for IWbemClassWrapper[src]

impl Debug for IWbemClassWrapper[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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