pub enum PendingInteractionKind {
Question,
Permission,
SlackDraft,
BrowserHandOff,
TerminalHandOff,
DocumentHandOff,
SettingsWrite,
Vault,
}Expand description
What a session is waiting on a person for. The kind a needs-you row names, since “asked you a question” and “a permission prompt is waiting” are different asks with the same mark.
One variant per ask source, and every source is here. A question and
a permission park in the session’s pending set; a Slack draft, the
browser, terminal and document hand-offs, a settings write and a vault
call each park in a registry of the workspace’s own. The split between
those places is what let a terminal hand-off draw in the dock and mark
nothing (#2954), the third time a kind was missed;
Workspace::pending_interaction reads every source through one order.
A new ask kind fails the build in the guard test’s census until it is
named there, and the census is what parks one of each and asserts the
needs-you path answers it - so a kind cannot be named without being
covered.
Variants§
Trait Implementations§
Source§impl Clone for PendingInteractionKind
impl Clone for PendingInteractionKind
impl Copy for PendingInteractionKind
Source§impl Debug for PendingInteractionKind
impl Debug for PendingInteractionKind
Source§impl<'de> Deserialize<'de> for PendingInteractionKind
impl<'de> Deserialize<'de> for PendingInteractionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for PendingInteractionKind
Source§impl PartialEq for PendingInteractionKind
impl PartialEq for PendingInteractionKind
Source§impl Serialize for PendingInteractionKind
impl Serialize for PendingInteractionKind
impl StructuralPartialEq for PendingInteractionKind
Auto Trait Implementations§
impl Freeze for PendingInteractionKind
impl RefUnwindSafe for PendingInteractionKind
impl Send for PendingInteractionKind
impl Sync for PendingInteractionKind
impl Unpin for PendingInteractionKind
impl UnsafeUnpin for PendingInteractionKind
impl UnwindSafe for PendingInteractionKind
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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