Enum winrt::Error
[−]
[src]
pub enum Error { OperationAborted, AccessDenied, UnspecifiedFailure, InvalidHandle, InvalidArgument, NoSuchInterface, NotImplemented, OutOfMemory, InvalidPointer, UnexpectedFailure, OutOfBounds, IllegalMethodCall, Other(HRESULT), }
Represents an error as a result of a Windows Runtime method call.
Variants
OperationAborted
AccessDenied
UnspecifiedFailure
InvalidHandle
InvalidArgument
NoSuchInterface
NotImplemented
OutOfMemory
InvalidPointer
UnexpectedFailure
OutOfBounds
IllegalMethodCall
Other(HRESULT)
Methods
impl Error
[src]
fn from_hresult(hr: HRESULT) -> Error
fn as_hresult(&self) -> HRESULT
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.