pub enum PromptFrame {
Update(SessionEvent),
Permission(IncomingPermission),
Finished(StopReason),
}Expand description
Frames surfaced to the turn runner during an active session/prompt.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for PromptFrame
impl Freeze for PromptFrame
impl Move for PromptFrame
impl RefUnwindSafe for PromptFrame
impl Send for PromptFrame
impl Sync for PromptFrame
impl Unpin for PromptFrame
impl UnsafeUnpin for PromptFrame
impl UnwindSafe for PromptFrame
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