pub enum ContextMode {
Brief,
Fork(ForkSource),
}Expand description
What the child sees besides the task.
Variants§
Brief
Only the task and the optional context argument.
Fork(ForkSource)
The task, the optional context argument, and a parent-transcript
summary from the given source. If the source returns None, this
behaves like Brief.
Trait Implementations§
Source§impl Clone for ContextMode
impl Clone for ContextMode
Source§impl Debug for ContextMode
impl Debug for ContextMode
Auto Trait Implementations§
impl !RefUnwindSafe for ContextMode
impl !UnwindSafe for ContextMode
impl Forget for ContextMode
impl Freeze for ContextMode
impl Move for ContextMode
impl Send for ContextMode
impl Sync for ContextMode
impl Unpin for ContextMode
impl UnsafeUnpin for ContextModewhere
*const ArcInner<dyn Fn(&ToolContext) -> Option<String> + Send + Sync> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(&ToolContext) -> Option<String> + Send + Sync>>: UnsafeUnpin,
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