Enum fltk::prelude::FltkError [−][src]
pub enum FltkError { IoError(Error), NullError(NulError), Internal(FltkErrorKind), EnvVarError(VarError), Unknown(String), }
Expand description
Error types returned by fltk-rs + wrappers of std errors
Variants
IoError(Error)
Expand description
i/o error
NullError(NulError)
Expand description
Null string conversion error
Internal(FltkErrorKind)
Expand description
Internal fltk error
EnvVarError(VarError)
Expand description
Error using an errorneous env variable
Unknown(String)
Expand description
Unknown error
Trait Implementations
impl Error for FltkError
[src]
impl Error for FltkError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl Send for FltkError
[src]
impl Sync for FltkError
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more