pub enum ProviderResume {
Continue(SessionToolOutcome),
Complete(Option<String>),
RestartFresh,
}Expand description
Application preparation immediately before a primary provider turn resumes.
Variants§
Continue(SessionToolOutcome)
Send the prepared native tool result and allow another inference.
Complete(Option<String>)
Finish the logical session without starting another inference.
RestartFresh
Account for the interrupted call and select another outer round without responding.
Trait Implementations§
Source§impl Clone for ProviderResume
impl Clone for ProviderResume
Source§fn clone(&self) -> ProviderResume
fn clone(&self) -> ProviderResume
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 ProviderResume
impl Debug for ProviderResume
Source§impl PartialEq for ProviderResume
impl PartialEq for ProviderResume
impl StructuralPartialEq for ProviderResume
Auto Trait Implementations§
impl Freeze for ProviderResume
impl RefUnwindSafe for ProviderResume
impl Send for ProviderResume
impl Sync for ProviderResume
impl Unpin for ProviderResume
impl UnsafeUnpin for ProviderResume
impl UnwindSafe for ProviderResume
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