pub enum TaskAbortReason {
WidgetRemoved,
Refused(GuiError),
}Expand description
Why a queued widget command never reached the shared model.
TaskEvent::Aborted carries this so a worker that committed through
UiProxy::send_lossless can distinguish “the widget is gone” from
“the command landed”: the dead-letter half of the lossless guarantees.
Variants§
WidgetRemoved
The target widget had already been removed when the drain ran - the
teardown race that used to be swallowed by
TaskDrainReport::rejected.
Refused(GuiError)
The target widget is live but refused the mutation (kind guard, validated range, …); the typed error is preserved for the application.
Trait Implementations§
Source§impl Clone for TaskAbortReason
impl Clone for TaskAbortReason
Source§impl Debug for TaskAbortReason
impl Debug for TaskAbortReason
impl Eq for TaskAbortReason
Source§impl PartialEq for TaskAbortReason
impl PartialEq for TaskAbortReason
impl StructuralPartialEq for TaskAbortReason
Auto Trait Implementations§
impl Forget for TaskAbortReason
impl Freeze for TaskAbortReason
impl Move for TaskAbortReason
impl RefUnwindSafe for TaskAbortReason
impl Send for TaskAbortReason
impl Sync for TaskAbortReasonwhere
RawVecInner: Sync,
impl Unpin for TaskAbortReason
impl UnsafeUnpin for TaskAbortReason
impl UnwindSafe for TaskAbortReason
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