pub enum ConversationPhase {
Opening,
TaskDiscovery,
ActiveTask,
Clarification,
Summarizing,
Closing,
Abandoned,
}Expand description
High-level lifecycle phase of a conversation.
Variants§
Opening
Conversation has just started; waiting for first meaningful input.
TaskDiscovery
User mentioned a task; gathering requirements.
ActiveTask
Actively working on the user’s task.
Clarification
A clarifying question was asked; waiting for user reply.
Summarizing
Generating a summary / wrap-up response.
Closing
Conversation ended gracefully.
Abandoned
Conversation ended due to inactivity or abrupt user departure.
Implementations§
Source§impl ConversationPhase
impl ConversationPhase
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
Returns true for phases from which no further transitions occur.
Trait Implementations§
Source§impl Clone for ConversationPhase
impl Clone for ConversationPhase
Source§fn clone(&self) -> ConversationPhase
fn clone(&self) -> ConversationPhase
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 ConversationPhase
impl Debug for ConversationPhase
impl Eq for ConversationPhase
Source§impl Hash for ConversationPhase
impl Hash for ConversationPhase
Source§impl PartialEq for ConversationPhase
impl PartialEq for ConversationPhase
Source§fn eq(&self, other: &ConversationPhase) -> bool
fn eq(&self, other: &ConversationPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConversationPhase
Auto Trait Implementations§
impl Freeze for ConversationPhase
impl RefUnwindSafe for ConversationPhase
impl Send for ConversationPhase
impl Sync for ConversationPhase
impl Unpin for ConversationPhase
impl UnsafeUnpin for ConversationPhase
impl UnwindSafe for ConversationPhase
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,
§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
Checks if this value is equivalent to the given key. Read more
§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
Checks if this value is equivalent to the given key. Read more
§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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request