Enum winrt_notification::Error
[−]
pub enum Error {
OperationAborted,
AccessDenied,
UnspecifiedFailure,
InvalidHandle,
InvalidArgument,
NoSuchInterface,
NotImplemented,
OutOfMemory,
InvalidPointer,
UnexpectedFailure,
OutOfBounds,
IllegalMethodCall,
ObjectClosed,
Other(i32),
}Represents an error as a result of a Windows Runtime method call.
Variants
OperationAbortedAccessDeniedUnspecifiedFailureInvalidHandleInvalidArgumentNoSuchInterfaceNotImplementedOutOfMemoryInvalidPointerUnexpectedFailureOutOfBoundsIllegalMethodCallObjectClosedOther(i32)
Methods
impl Error
pub fn from_hresult(hr: i32) -> Error
pub fn as_hresult(&self) -> i32
Trait Implementations
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more