Module git_transport::client
source · Expand description
Modules
connect
blocking-clientfile
blocking-clientgit
blocking-client or async-clienthttp
blocking-client and http-clientssh
blocking-clientStructs
An account based identity
A structure to represent multiple capabilities or features supported by the server.
RequestWriter
blocking-clientA
Write implementation optimized for writing packet lines.
A type implementing Write for packet lines, which when done can be transformed into a Read for
obtaining the response.SetServiceResponse
blocking-clientThe response of the
handshake() method.Enums
The kind of packet line to write when transforming a
RequestWriter into an
ExtendedBufRead.Configure how the
RequestWriter behaves when writing bytes.Traits
ExtendedBufRead
blocking-clientProvide even more access to the underlying packet reader.
ReadlineBufRead
blocking-clientThis trait exists to get a version of a
git_packetline::Provider without type parameters,
but leave support for reading lines directly without forcing them through String.Transport
blocking-clientAll methods provided here must be called in the correct order according to the communication protocol
used to connect to them.
It does, however, know just enough to be able to provide a higher-level interface than would otherwise be possible.
Thus the consumer of this trait will not have to deal with packet lines at all.
Note that whenever a
Read trait or Write trait is produced, it must be exhausted.TransportV2Ext
blocking-clientAn extension trait to add more methods to everything implementing
Transport.This trait represents all transport related functions that don’t require any input/output to be done which helps
implementation to share more code across blocking and async programs.
Functions
connect
blocking-clientA general purpose connector connecting to a repository identified by the given
url.Type Definitions
HandleProgress
blocking-clientA function
f(is_error, text) receiving progress or error information.