Enum minifb::Error
[−]
[src]
pub enum Error { MenusNotSupported, MenuExists(String), WindowCreate(String), UpdateFailed(String), }
Errors that can be return from various operatiors
Variants
MenusNotSupported
Returned if menu Menu function isn't supported
MenuExists(String)
Menu already exists
WindowCreate(String)
Menu already exists
UpdateFailed(String)
Unable to Update
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more