pub enum ResumeOutcome {
Paused {
queries: Vec<LlmQuery>,
},
Completed {
result: Value,
},
Failed {
error: String,
},
Cancelled,
}Expand description
Return type of Session.resume(). Never returns Running.
Variants§
Paused
Lua resumed and paused again at alc.llm().
Completed
Failed
Cancelled
Cancelled during resume.
Auto Trait Implementations§
impl Freeze for ResumeOutcome
impl RefUnwindSafe for ResumeOutcome
impl Send for ResumeOutcome
impl Sync for ResumeOutcome
impl Unpin for ResumeOutcome
impl UnsafeUnpin for ResumeOutcome
impl UnwindSafe for ResumeOutcome
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