RawComResult

Type Alias RawComResult 

Source
pub type RawComResult<A> = Result<A, HRESULT>;
Expand description

Basic COM result type.

The ComResult maps the Rust concept of Ok and Err values to COM [out, retval] parameter and HRESULT return value.

Aliased Type§

pub enum RawComResult<A> {
    Ok(A),
    Err(HRESULT),
}

Variants§

§1.0.0

Ok(A)

Contains the success value

§1.0.0

Err(HRESULT)

Contains the error value