pub struct CodexRolloutOptions {
pub codex_home: Option<PathBuf>,
pub home_dir: Option<PathBuf>,
pub max_bytes: Option<u64>,
}Expand description
Where to look for Codex rollouts
Fields§
§codex_home: Option<PathBuf>CODEX_HOME; defaults to the CODEX_HOME environment variable, then
~/.codex
home_dir: Option<PathBuf>Home directory; defaults to HOME (USERPROFILE on Windows)
max_bytes: Option<u64>Bytes read from the end of a rollout; defaults to ROLLOUT_TAIL_BYTES
Implementations§
Source§impl CodexRolloutOptions
impl CodexRolloutOptions
Sourcepub fn for_run_env(extra_env: &[(String, String)], unset_env: &[String]) -> Self
pub fn for_run_env(extra_env: &[(String, String)], unset_env: &[String]) -> Self
Options for a run launched with extra_env and unset_env.
A CODEX_HOME passed to the run wins; an unset one means ~/.codex.
Trait Implementations§
Source§impl Clone for CodexRolloutOptions
impl Clone for CodexRolloutOptions
Source§impl Debug for CodexRolloutOptions
impl Debug for CodexRolloutOptions
Source§impl Default for CodexRolloutOptions
impl Default for CodexRolloutOptions
impl Eq for CodexRolloutOptions
Source§impl PartialEq for CodexRolloutOptions
impl PartialEq for CodexRolloutOptions
impl StructuralPartialEq for CodexRolloutOptions
Auto Trait Implementations§
impl Forget for CodexRolloutOptions
impl Freeze for CodexRolloutOptions
impl Move for CodexRolloutOptions
impl RefUnwindSafe for CodexRolloutOptions
impl Send for CodexRolloutOptionswhere
RawVecInner: Send,
impl Sync for CodexRolloutOptionswhere
RawVecInner: Sync,
impl Unpin for CodexRolloutOptions
impl UnsafeUnpin for CodexRolloutOptions
impl UnwindSafe for CodexRolloutOptionswhere
RawVecInner: UnwindSafe,
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.