pub enum DelegateError {
RuntimeNotAvailable,
ClosurePanicked,
}
Expand description
The error that occurs when you’re delegating work to the GUI thread, but it fails to finish and/or return a result.
Variants§
RuntimeNotAvailable
The runtime has either not yet started or already ended. This happens when the application has already exited for example.
ClosurePanicked
The delegated closure has panicked.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DelegateError
impl RefUnwindSafe for DelegateError
impl Send for DelegateError
impl Sync for DelegateError
impl Unpin for DelegateError
impl UnwindSafe for DelegateError
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