pub struct SessionHandle {
pub events: Receiver<EngineEvent>,
/* private fields */
}Fields§
§events: Receiver<EngineEvent>Implementations§
Source§impl SessionHandle
impl SessionHandle
pub async fn prompt(&self, text: String)
Sourcepub async fn prompt_tagged(&self, text: String, synthetic: SyntheticReason)
pub async fn prompt_tagged(&self, text: String, synthetic: SyntheticReason)
A prompt whose committed user item carries a provenance tag (T2).
pub async fn steer(&self, text: String)
Sourcepub async fn continue_turn(&self)
pub async fn continue_turn(&self)
Continue an interrupted turn on resume (M4/#8).
Auto Trait Implementations§
impl Freeze for SessionHandle
impl RefUnwindSafe for SessionHandle
impl Send for SessionHandle
impl Sync for SessionHandle
impl Unpin for SessionHandle
impl UnsafeUnpin for SessionHandle
impl UnwindSafe for SessionHandle
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