pub struct Codex { /* private fields */ }Implementations§
Source§impl Codex
impl Codex
pub fn builder() -> CodexBuilder
pub fn binary(&self) -> &Path
pub fn working_dir(&self) -> Option<&Path>
pub fn with_working_dir(&self, dir: impl Into<PathBuf>) -> Self
pub async fn cli_version(&self) -> Result<CliVersion>
pub async fn check_version(&self, minimum: &CliVersion) -> Result<CliVersion>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Codex
impl RefUnwindSafe for Codex
impl Send for Codex
impl Sync for Codex
impl Unpin for Codex
impl UnsafeUnpin for Codex
impl UnwindSafe for Codex
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