pub struct MsgError { /* private fields */ }
Available on crate feature
gui
only.Expand description
An error that occurred within a closure of a window message handling. Usually these errors are thrown by the user closures.
This error types wraps the actual user error along with the parameters of the message where the error happened.
Implementations§
Trait Implementations§
source§impl Error for MsgError
impl Error for MsgError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MsgError
impl !RefUnwindSafe for MsgError
impl Send for MsgError
impl Sync for MsgError
impl Unpin for MsgError
impl !UnwindSafe for MsgError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more