pub enum Kind {
Read {
path: String,
},
Edit {
path: String,
},
Search,
Bash {
cmd: String,
failed: bool,
error: Option<u64>,
error_line: Option<String>,
},
Other,
}Variants§
Read
File content pulled into context.
Edit
File changed by the agent.
Search
Grep/glob/symbol search: exploration without a single target file.
Bash
Shell command. error is a normalized fingerprint when it failed, error_line the
first error-looking line it was taken from (for showing a scar to a drone).
Other
Trait Implementations§
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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