Available on crate features blocking-client or async-client only.
Expand description

Re-exports

pub use command::Command;
pub use delegate::Action;
pub use delegate::DelegateBlocking;
pub use delegate::LsRefsAction;
pub use refs::Ref;
pub use response::Response;

Modules

Structs

The arguments passed to a server command.

Enums

The error used in fetch().

Traits

The protocol delegate is the bare minimal interface needed to fully control the fetch operation.

Functions

Returns the name of the agent as key-value pair, commonly used in HTTP headers.

Perform a handshake with the server on the other side of transport, with authenticate being used if authentication turns out to be required. extra_parameters are the parameters (name, optional value) to add to the handshake, each time it is performed in case authentication is required. progress is used to inform about what’s currently happening.

Send a message to indicate the remote side that there is nothing more to expect from us, indicating a graceful shutdown.

Invoke an ls-refs command on transport (assuming protocol_version 2 or panic), which requires a prior handshake that yielded server capabilities. prepare_ls_refs(arguments, features) can be used to alter the ls-refs. progress is used to provide feedback.