Struct git2::ProxyOptions[][src]

pub struct ProxyOptions<'a> { /* fields omitted */ }

Options which can be specified to various fetch operations.


impl<'a> ProxyOptions<'a>

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

impl<'a> Default for ProxyOptions<'a>

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<'a> Send for ProxyOptions<'a>

impl<'a> Sync for ProxyOptions<'a>