pub struct BundledBinarySpec<'a> {
pub bundle_root: &'a Path,
pub version: &'a str,
pub platform: Option<&'a str>,
}Expand description
Specification for resolving an app-bundled Codex binary.
Callers supply a bundle root plus the pinned version they expect. Platform
defaults to the current target triple label (e.g., darwin-arm64 or
linux-x64) but can be overridden when hosts manage their own layout.
Fields§
§bundle_root: &'a PathRoot containing <platform>/<version>/codex slices managed by the host.
version: &'a strPinned Codex version directory to resolve (semantic version or channel/build id).
platform: Option<&'a str>Optional platform label override; defaults to default_bundled_platform_label.
Trait Implementations§
Source§impl<'a> Clone for BundledBinarySpec<'a>
impl<'a> Clone for BundledBinarySpec<'a>
Source§fn clone(&self) -> BundledBinarySpec<'a>
fn clone(&self) -> BundledBinarySpec<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for BundledBinarySpec<'a>
impl<'a> Debug for BundledBinarySpec<'a>
Source§impl<'a> PartialEq for BundledBinarySpec<'a>
impl<'a> PartialEq for BundledBinarySpec<'a>
impl<'a> Eq for BundledBinarySpec<'a>
impl<'a> StructuralPartialEq for BundledBinarySpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for BundledBinarySpec<'a>
impl<'a> RefUnwindSafe for BundledBinarySpec<'a>
impl<'a> Send for BundledBinarySpec<'a>
impl<'a> Sync for BundledBinarySpec<'a>
impl<'a> Unpin for BundledBinarySpec<'a>
impl<'a> UnsafeUnpin for BundledBinarySpec<'a>
impl<'a> UnwindSafe for BundledBinarySpec<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.