Crate gix_packetline

Crate gix_packetline 

Source
Expand description

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

§Feature Flags

By default, all IO related capabilities will be missing unless one of the following is chosen.

  • blocking-io — Enable blocking I/O API.
  • async-io — Enable async I/O API using IO traits from futures-io.

§Other

  • serde — Data structures implement serde::Serialize and serde::Deserialize.

Modules§

blocking_ioblocking-io
decode
Utilities to help decoding packet lines
encode
Utilities to encode different kinds of packet lines
read
Various utilities for io::Read trait implementation.

Structs§

ErrorRef
A packet line representing an Error in a sideband channel.
TextRef
A packet line representing text, which may include a trailing newline.

Enums§

BandRef
A band in a sideband channel.
Channel
One of three sideband types allowing to multiplex information over a single connection.
PacketLineRef
A borrowed packet line as it refers to a slice of data by reference.

Functions§

decode
Decode an entire packet line from data or fail.