[][src]Struct git2::Progress

pub struct Progress<'a> { /* fields omitted */ }

Struct representing the progress by an in-flight transfer.

Methods

impl<'a> Progress<'a>
[src]

pub fn total_objects(&self) -> usize
[src]

Number of objects in the packfile being downloaded

pub fn indexed_objects(&self) -> usize
[src]

Received objects that have been hashed

pub fn received_objects(&self) -> usize
[src]

Objects which have been downloaded

pub fn local_objects(&self) -> usize
[src]

Locally-available objects that have been injected in order to fix a thin pack.

pub fn total_deltas(&self) -> usize
[src]

Number of deltas in the packfile being downloaded

pub fn indexed_deltas(&self) -> usize
[src]

Received deltas that have been hashed.

pub fn received_bytes(&self) -> usize
[src]

Size of the packfile received up to now

pub fn to_owned(&self) -> Progress<'static>
[src]

Convert this to an owned version of Progress.

Auto Trait Implementations

impl<'a> !Send for Progress<'a>

impl<'a> !Sync for Progress<'a>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]