Struct intercom::ComError [] [src]

pub struct ComError {
    pub hresult: HRESULT,
    pub error_info: Option<ErrorInfo>,
}

Error structure containing the available information on a COM error.

Fields

HRESULT that triggered the error.

Possible detailed error info.

Methods

impl ComError
[src]

[src]

Constructs a new ComError from a HRESULT code.

[src]

Construts a new ComError with a given message.

[src]

Gets the description if it's available.

Trait Implementations

impl From<ComError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for ComError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ComError

impl Sync for ComError