pub fn progress<F>(&mut self, cb: F) -> &mut CheckoutBuilder<'cb>
    where
        F: FnMut(Option<&Path>, usize, usize) + 'cb,
    {
        self.progress = Some(Box::new(cb) as Box<Progress<'cb>>);
        self
    }
/// Set a callback to receive notifications of checkout progress.
Set a callback to receive notifications of checkout progress.
Set a callback to receive notifications of checkout progress .
pub fn progress<F>(&mut self, cb: F) -> &mut CheckoutBuilder<'cb>
    where
        F: FnMut(Option<&Path>, usize, usize) + 'cb,
    {
        self.progress = Some(Box::new(cb) as Box<Progress<'cb>>);
        self
    }
pub fn progress < F > ( & mut self , cb : F ) -> & mut CheckoutBuilder < ' cb > where F : FnMut ( Option < & Path > , usize , usize ) + ' cb , { self . progress = Some ( Box :: new ( cb ) as Box < Progress < ' cb > > ) ; self }
Set a callback to receive notifications of checkout progress.
Set a callback to receive notifications of checkout progress .
&mut self
cb
F
&mut self
cb
F