pub struct CollectOptions {
pub recent_files_limit: usize,
pub git_status_limit: usize,
pub git_timeout: Duration,
pub walk_budget: Duration,
}Expand description
Tunables. Defaults match the per-turn budget.
Fields§
§recent_files_limit: usizeCap on the number of recent_files returned.
git_status_limit: usizeCap on the number of git_status entries returned.
git_timeout: DurationPer-shell-out timeout for git invocations.
walk_budget: DurationHard cap on filesystem walk duration.
Trait Implementations§
Source§impl Clone for CollectOptions
impl Clone for CollectOptions
Source§fn clone(&self) -> CollectOptions
fn clone(&self) -> CollectOptions
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 moreimpl Copy for CollectOptions
Source§impl Debug for CollectOptions
impl Debug for CollectOptions
Auto Trait Implementations§
impl Freeze for CollectOptions
impl RefUnwindSafe for CollectOptions
impl Send for CollectOptions
impl Sync for CollectOptions
impl Unpin for CollectOptions
impl UnsafeUnpin for CollectOptions
impl UnwindSafe for CollectOptions
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