pub enum Continuation {
New,
Latest,
Named(TaskHandle),
}Expand description
Which conversation a spawned task picks up, if any.
Variants§
New
Opens a new conversation. The ordinary case.
Latest
The conversation this workspace was last worked in — what a bare
--continue resolves against.
Named(TaskHandle)
A specific conversation, by the task that opened or last continued
it — what --continue --session <ID> resolves against.
Trait Implementations§
Source§impl Clone for Continuation
impl Clone for Continuation
Source§fn clone(&self) -> Continuation
fn clone(&self) -> Continuation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Continuation
impl Debug for Continuation
Source§impl Default for Continuation
impl Default for Continuation
Source§fn default() -> Continuation
fn default() -> Continuation
Returns the “default value” for a type. Read more
impl Eq for Continuation
Source§impl PartialEq for Continuation
impl PartialEq for Continuation
impl StructuralPartialEq for Continuation
Auto Trait Implementations§
impl Freeze for Continuation
impl RefUnwindSafe for Continuation
impl Send for Continuation
impl Sync for Continuation
impl Unpin for Continuation
impl UnsafeUnpin for Continuation
impl UnwindSafe for Continuation
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.