Function git_features::io::pipe::unidirectional
source · Available on crate feature
io-pipe
only.Expand description
Returns the (write
, read
) ends of a pipe for transferring bytes, analogous to a unix pipe.
in_flight_writes
defines the amount of chunks of bytes to keep in memory until thewrite
end will block when writing. IfNone
or0
, thewrite
end will always block until theread
end consumes the transferred bytes.