Struct git_features::progress::Write
source · [−]pub struct Write<T, P> {
pub inner: T,
pub progress: P,
}
Expand description
A structure passing every write
call through to the contained Progress instance using inc_by(bytes_written)
.
This is particularly useful if the final size of the bytes to write is known or can be estimated precisely enough.
Fields
inner: T
The implementor of std::io::Write
to which progress is added
progress: P
The progress instance receiving progress information on each invocation of reader
Trait Implementations
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more