[][src]Struct git_features::progress::Read

pub struct Read<R, P> {
    pub reader: R,
    pub progress: P,
}

A structure passing every 'read' call through to the contained Progress instance using inc_by(bytes_read).

Fields

reader: Rprogress: P

Trait Implementations

impl<R, P> BufRead for Read<R, P> where
    R: BufRead,
    P: Progress
[src]

impl<R, P> Read for Read<R, P> where
    R: Read,
    P: Progress
[src]

Auto Trait Implementations

impl<R, P> RefUnwindSafe for Read<R, P> where
    P: RefUnwindSafe,
    R: RefUnwindSafe

impl<R, P> Send for Read<R, P> where
    P: Send,
    R: Send

impl<R, P> Sync for Read<R, P> where
    P: Sync,
    R: Sync

impl<R, P> Unpin for Read<R, P> where
    P: Unpin,
    R: Unpin

impl<R, P> UnwindSafe for Read<R, P> where
    P: UnwindSafe,
    R: UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.