pub enum ContextEvent {
ExecutionStart,
BeforeModel {
turn: usize,
},
AfterTool {
turn: usize,
tool_name: String,
failed: bool,
invalidation: ContextInvalidation,
},
BeforeCompaction {
turn: usize,
},
AfterCompaction {
turn: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for ContextEvent
impl Clone for ContextEvent
Source§fn clone(&self) -> ContextEvent
fn clone(&self) -> ContextEvent
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 ContextEvent
impl Debug for ContextEvent
impl Eq for ContextEvent
Source§impl PartialEq for ContextEvent
impl PartialEq for ContextEvent
impl StructuralPartialEq for ContextEvent
Auto Trait Implementations§
impl Freeze for ContextEvent
impl RefUnwindSafe for ContextEvent
impl Send for ContextEvent
impl Sync for ContextEvent
impl Unpin for ContextEvent
impl UnsafeUnpin for ContextEvent
impl UnwindSafe for ContextEvent
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