pub enum JobHome {
List,
Create,
Checkout,
PrPicker,
}Expand description
The interaction context a finished job is allowed to drive a mode change from, so a background job never clobbers an unrelated modal the user opened while it ran (issue #46 overhaul). A job may transition the mode only when the user is idle (List/Filter) or still in the job’s own single-instance modal.
Variants§
List
The job’s confirm dialog already closed to the list before it began, so it may act only when the user is idle.
Create
The create modal stays open (submitting) during a create job.
Checkout
The checkout picker stays open during an in-place checkout.
PrPicker
The PR picker stays open during a PR checkout.
Trait Implementations§
impl Copy for JobHome
impl Eq for JobHome
impl StructuralPartialEq for JobHome
Auto Trait Implementations§
impl Freeze for JobHome
impl RefUnwindSafe for JobHome
impl Send for JobHome
impl Sync for JobHome
impl Unpin for JobHome
impl UnsafeUnpin for JobHome
impl UnwindSafe for JobHome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more