Crate git_packetline[][src]

Expand description

Read and write the git packet line wire format without copying it.

For reading the packet line format use the StreamingPeekableIter, and for writing the [Writer].

Modules

Utilities to help decoding packet lines

Utilities to encode different kinds of packet lines

Structs

A packet line representing an Error in a side-band channel.

Read pack lines one after another, without consuming more than needed from the underlying Read. Flush lines cause the reader to stop producing lines forever, leaving Read at the start of whatever comes next.

A packet line representing text, which may include a trailing newline.

Enums

A band in a side-band channel.

One of three side-band types allowing to multiplex information over a single connection.

A borrowed packet line as it refers to a slice of data by reference.

Functions

Decode an entire packet line from data or fail.