pub enum MainLoopError {
TooManyMainLoops,
NoMainLoop,
Unsupported,
DurationTooLong,
Other(Box<dyn Error>),
}Expand description
Possible error codes returned from the main loop API.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MainLoopError
impl !RefUnwindSafe for MainLoopError
impl !Send for MainLoopError
impl !Sync for MainLoopError
impl Unpin for MainLoopError
impl !UnwindSafe for MainLoopError
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