pub struct DefaultInstructionResolver<W> { /* private fields */ }Expand description
Default resolver that searches for AGENTS.md-style files from root to
target parent directories.
Implementations§
Source§impl<W> DefaultInstructionResolver<W>
impl<W> DefaultInstructionResolver<W>
Trait Implementations§
Source§impl<W: Clone> Clone for DefaultInstructionResolver<W>
impl<W: Clone> Clone for DefaultInstructionResolver<W>
Source§fn clone(&self) -> DefaultInstructionResolver<W>
fn clone(&self) -> DefaultInstructionResolver<W>
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<W: Debug> Debug for DefaultInstructionResolver<W>
impl<W: Debug> Debug for DefaultInstructionResolver<W>
Source§impl<W> InstructionResolver for DefaultInstructionResolver<W>where
W: Workspace,
impl<W> InstructionResolver for DefaultInstructionResolver<W>where
W: Workspace,
Source§fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
request: InstructionRequest,
_context: &'life1 RunContext,
) -> Pin<Box<dyn Future<Output = Result<InstructionBundle, InstructionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
request: InstructionRequest,
_context: &'life1 RunContext,
) -> Pin<Box<dyn Future<Output = Result<InstructionBundle, InstructionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Resolves project instructions.
Auto Trait Implementations§
impl<W> Freeze for DefaultInstructionResolver<W>where
W: Freeze,
impl<W> RefUnwindSafe for DefaultInstructionResolver<W>where
W: RefUnwindSafe,
impl<W> Send for DefaultInstructionResolver<W>where
W: Send,
impl<W> Sync for DefaultInstructionResolver<W>where
W: Sync,
impl<W> Unpin for DefaultInstructionResolver<W>where
W: Unpin,
impl<W> UnsafeUnpin for DefaultInstructionResolver<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for DefaultInstructionResolver<W>where
W: UnwindSafe,
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