Struct ptx_builder::executable::Cargo
source · pub struct Cargo;
Expand description
cargo
command.
Trait Implementations§
source§impl Executable for Cargo
impl Executable for Cargo
source§fn get_verification_hint(&self) -> String
fn get_verification_hint(&self) -> String
Returns message about how to install missing executable.
source§fn get_version_hint(&self) -> String
fn get_version_hint(&self) -> String
Returns message about how to update outdated executable.
source§fn get_required_version(&self) -> Option<VersionReq>
fn get_required_version(&self) -> Option<VersionReq>
Executable version constraint.
source§fn get_current_version(&self) -> Result<Version>
fn get_current_version(&self) -> Result<Version>
Returns the current version of the executable.
Auto Trait Implementations§
impl Freeze for Cargo
impl RefUnwindSafe for Cargo
impl Send for Cargo
impl Sync for Cargo
impl Unpin for Cargo
impl UnwindSafe for Cargo
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