pub enum HostToolResult {
Output(String),
Final(String),
}Expand description
Result of dispatching a single RLM tool call.
Variants§
Output(String)
Normal output, fed back to the LLM.
Final(String)
Final answer — terminates the RLM loop.
Trait Implementations§
Source§impl Clone for HostToolResult
impl Clone for HostToolResult
Source§fn clone(&self) -> HostToolResult
fn clone(&self) -> HostToolResult
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 moreAuto Trait Implementations§
impl Freeze for HostToolResult
impl RefUnwindSafe for HostToolResult
impl Send for HostToolResult
impl Sync for HostToolResult
impl Unpin for HostToolResult
impl UnsafeUnpin for HostToolResult
impl UnwindSafe for HostToolResult
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