pub struct Callback<'a> {
pub pkg: &'a str,
pub n: usize,
pub output: &'a str,
}
Expand description
Callback called whenever a download completes.
Fields§
§pkg: &'a str
The name of the package that completed.
n: usize
The amount of packages that have finished downloading.
output: &'a str
Output of the git command called to download the package.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Callback<'a>
impl<'a> RefUnwindSafe for Callback<'a>
impl<'a> Send for Callback<'a>
impl<'a> Sync for Callback<'a>
impl<'a> Unpin for Callback<'a>
impl<'a> UnwindSafe for Callback<'a>
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