pub enum ModalLoopOutcome {
Completed {
dispatched: usize,
},
Deadlocked {
dispatched: usize,
},
}Expand description
Outcome of Ui::run_modal_loop.
Variants§
Completed
The terminator event was delivered, closing the loop the way a dismissed dialog ends its nested pump.
Deadlocked
The script ran dry before the terminator arrived: the deterministic stand-in for the OS hang the flat-FIFO model cannot express.
Trait Implementations§
Source§impl Clone for ModalLoopOutcome
impl Clone for ModalLoopOutcome
impl Copy for ModalLoopOutcome
Source§impl Debug for ModalLoopOutcome
impl Debug for ModalLoopOutcome
impl Eq for ModalLoopOutcome
Source§impl PartialEq for ModalLoopOutcome
impl PartialEq for ModalLoopOutcome
impl StructuralPartialEq for ModalLoopOutcome
Auto Trait Implementations§
impl Forget for ModalLoopOutcome
impl Freeze for ModalLoopOutcome
impl Move for ModalLoopOutcome
impl RefUnwindSafe for ModalLoopOutcome
impl Send for ModalLoopOutcome
impl Sync for ModalLoopOutcome
impl Unpin for ModalLoopOutcome
impl UnsafeUnpin for ModalLoopOutcome
impl UnwindSafe for ModalLoopOutcome
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