Struct ptx_builder::executable::Cargo
source · pub struct Cargo;
Expand description
cargo
command.
Trait Implementations
sourceimpl Executable for Cargo
impl Executable for Cargo
sourcefn get_verification_hint(&self) -> String
fn get_verification_hint(&self) -> String
Returns message about how to install missing executable.
sourcefn get_version_hint(&self) -> String
fn get_version_hint(&self) -> String
Returns message about how to update outdated executable.
sourcefn get_required_version(&self) -> Option<VersionReq>
fn get_required_version(&self) -> Option<VersionReq>
Executable version constraint.
sourcefn get_current_version(&self) -> Result<Version>
fn get_current_version(&self) -> Result<Version>
Returns the current version of the executable.
Auto Trait Implementations
impl RefUnwindSafe for Cargo
impl Send for Cargo
impl Sync for Cargo
impl Unpin for Cargo
impl UnwindSafe for Cargo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more