pub struct Cargo;Trait Implementations§
Source§impl PackageManager for Cargo
impl PackageManager for Cargo
fn default_path() -> &'static str
fn read_package<'life0, 'async_trait, T, V>( &'life0 self, crate_path: T, ) -> Pin<Box<dyn Future<Output = Result<Vec<Package<V>>>> + Send + 'async_trait>>
fn check_version<'life0, 'life1, 'async_trait, V>( &'life0 self, package: &'life1 Package<V>, ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
fn run_build<'life0, 'async_trait, T>( &'life0 self, crate_path: T, build_args: Vec<String>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
fn run_publish<'life0, 'async_trait, T>( &'life0 self, crate_path: T, publish_args: Vec<String>, dry_run: bool, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
fn apply_version<'life0, 'life1, 'async_trait, T>( &'life0 self, crate_path: T, version: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
fn apply_dependency_version<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 self, crate_path: T, name: &'life1 str, version: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more