pub struct CodeGraphConfig {
pub binary: OsString,
pub max_concurrent_processes: usize,
pub circuit_breaker_cooldown: Duration,
}Expand description
Process and circuit-breaker settings for the production CodeGraph adapter.
Fields§
§binary: OsStringExecutable path or PATH-resolved binary name.
max_concurrent_processes: usizeMaximum concurrent CodeGraph child processes.
circuit_breaker_cooldown: DurationTime that MCP is bypassed for one repository after an MCP timeout.
Trait Implementations§
Source§impl Clone for CodeGraphConfig
impl Clone for CodeGraphConfig
Source§fn clone(&self) -> CodeGraphConfig
fn clone(&self) -> CodeGraphConfig
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 CodeGraphConfig
impl Debug for CodeGraphConfig
Auto Trait Implementations§
impl Freeze for CodeGraphConfig
impl RefUnwindSafe for CodeGraphConfig
impl Send for CodeGraphConfig
impl Sync for CodeGraphConfig
impl Unpin for CodeGraphConfig
impl UnsafeUnpin for CodeGraphConfig
impl UnwindSafe for CodeGraphConfig
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