#[non_exhaustive]pub enum IngestSource {
User,
Continuation,
Background,
}Expand description
The source of the input to be ingested in the current turn.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
User
First round: user prompt.
Continuation
Continuation turn: feedback injected before the turn ends.
Background
Background task backflow: an autonomous continuation turn initiated by the session
driver after a run_in_background subtask completes. Its input is a deferred tool
result rather than a user utterance.
Trait Implementations§
Source§impl Clone for IngestSource
impl Clone for IngestSource
Source§fn clone(&self) -> IngestSource
fn clone(&self) -> IngestSource
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 IngestSource
impl Debug for IngestSource
impl Eq for IngestSource
Source§impl PartialEq for IngestSource
impl PartialEq for IngestSource
Source§fn eq(&self, other: &IngestSource) -> bool
fn eq(&self, other: &IngestSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IngestSource
Auto Trait Implementations§
impl Freeze for IngestSource
impl RefUnwindSafe for IngestSource
impl Send for IngestSource
impl Sync for IngestSource
impl Unpin for IngestSource
impl UnsafeUnpin for IngestSource
impl UnwindSafe for IngestSource
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