pub struct CargoUpdater { /* private fields */ }Implementations§
Source§impl CargoUpdater
impl CargoUpdater
pub const fn new(crates_io: CratesIoClient) -> Self
pub fn update(&self, options: &CargoUpdateOptions) -> Result<CargoUpdateReport>
Trait Implementations§
Source§impl Clone for CargoUpdater
impl Clone for CargoUpdater
Source§fn clone(&self) -> CargoUpdater
fn clone(&self) -> CargoUpdater
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for CargoUpdater
impl !UnwindSafe for CargoUpdater
impl Freeze for CargoUpdater
impl Send for CargoUpdater
impl Sync for CargoUpdater
impl Unpin for CargoUpdater
impl UnsafeUnpin for CargoUpdater
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