Module gix_transport::client
source · Expand description
Modules§
- connect
blocking-client
- file
blocking-client
- git
blocking-client
orasync-client
- http
blocking-client
andhttp-client
- ssh
blocking-client
Structs§
- An account based identity
- A structure to represent multiple capabilities or features supported by the server.
- Request
Writer blocking-client
AWrite
implementation optimized for writing packet lines. A type implementingWrite
for packet lines, which when done can be transformed into aRead
for obtaining the response. - SetService
Response blocking-client
The response of thehandshake()
method.
Enums§
- The error used in most methods of the
client
module - The kind of packet line to write when transforming a
RequestWriter
into anExtendedBufRead
. - Configure how the
RequestWriter
behaves when writing bytes.
Traits§
- Extended
BufRead blocking-client
Provide even more access to the underlying packet reader. - Readline
BufRead blocking-client
This trait exists to get a version of agix_packetline::Provider
without type parameters, but leave support for reading lines directly without forcing them throughString
. - Transport
blocking-client
All 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 aRead
trait orWrite
trait is produced, it must be exhausted. - Transport
V2Ext blocking-client
An extension trait to add more methods to everything implementingTransport
. - 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-client
A general purpose connector connecting to a repository identified by the givenurl
.
Type Aliases§
- Handle
Progress blocking-client
A functionf(is_error, text)
receiving progress or error information.