pub enum CliProgram {
Resolve,
Path(PathBuf),
}Expand description
How the SDK locates the GitHub Copilot CLI binary.
Variants§
Resolve
Auto-resolve the transport’s program. Managed child-process transports
select COPILOT_CLI_PATH, then the bundled runtime wrapper. In-process
transport loads the wrapper’s adjacent runtime library directly unless
COPILOT_CLI_PATH explicitly selects a legacy embedded host.
Path(PathBuf)
Use an explicit binary path (skips resolution).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliProgram
impl RefUnwindSafe for CliProgram
impl Send for CliProgram
impl Sync for CliProgram
impl Unpin for CliProgram
impl UnsafeUnpin for CliProgram
impl UnwindSafe for CliProgram
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