pub enum BinarySource {
Bundled,
EnvOverride,
Local,
}Expand description
How the copilot binary was resolved.
Variants§
Bundled
Extracted from the build-time embedded binary.
EnvOverride
Set via COPILOT_CLI_PATH environment variable.
Local
Found on PATH or standard search locations.
Trait Implementations§
Source§impl Clone for BinarySource
impl Clone for BinarySource
Source§fn clone(&self) -> BinarySource
fn clone(&self) -> BinarySource
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 BinarySource
impl Debug for BinarySource
Source§impl PartialEq for BinarySource
impl PartialEq for BinarySource
Source§fn eq(&self, other: &BinarySource) -> bool
fn eq(&self, other: &BinarySource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BinarySource
impl Serialize for BinarySource
impl Copy for BinarySource
impl Eq for BinarySource
impl StructuralPartialEq for BinarySource
Auto Trait Implementations§
impl Freeze for BinarySource
impl RefUnwindSafe for BinarySource
impl Send for BinarySource
impl Sync for BinarySource
impl Unpin for BinarySource
impl UnsafeUnpin for BinarySource
impl UnwindSafe for BinarySource
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