pub enum CliProgram {
Resolve,
Path(PathBuf),
}Expand description
How the SDK locates the GitHub Copilot CLI binary.
Variants§
Resolve
Auto-resolve: COPILOT_CLI_PATH → embedded CLI → PATH + common locations.
This is the default.
Path(PathBuf)
Use an explicit binary path (skips resolution).
Trait Implementations§
Source§impl Clone for CliProgram
impl Clone for CliProgram
Source§fn clone(&self) -> CliProgram
fn clone(&self) -> CliProgram
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 CliProgram
impl Debug for CliProgram
Source§impl Default for CliProgram
impl Default for CliProgram
Source§fn default() -> CliProgram
fn default() -> CliProgram
Returns the “default value” for a type. Read more
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