Enum native_windows_gui::Error
[−]
[src]
pub enum Error {
KeyExists,
KeyNotFound,
BadType,
BadParent(String),
BadResource(String),
BorrowError,
EventNotSupported(Event),
ControlRequired,
ControlOrResourceRequired,
ControlInUse,
ResourceInUse,
Unimplemented,
System(SystemError),
UserError(String),
}Error class that regroup errors generated by NWG
Variants
KeyExistsKeyNotFoundBadTypeBadParent(String)BadResource(String)BorrowErrorEventNotSupported(Event)ControlRequiredControlOrResourceRequiredControlInUseResourceInUseUnimplementedSystem(SystemError)UserError(String)Trait Implementations
impl Clone for Error[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
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 !=.