[go: up one dir, main page]

Struct git2::ProxyOptions

source ·
pub struct ProxyOptions<'a> { /* private fields */ }
Expand description

Options which can be specified to various fetch operations.

Implementations§

Creates a new set of proxy options ready to be configured.

Try to auto-detect the proxy from the git configuration.

Note that this will override url specified before.

Specify the exact URL of the proxy to use.

Note that this will override auto specified before.

Trait Implementations§

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.