Struct git2::ProxyOptions
[−]
[src]
pub struct ProxyOptions<'a> { /* fields omitted */ }
Options which can be specified to various fetch operations.
Methods
impl<'a> ProxyOptions<'a>
[src]
fn new() -> ProxyOptions<'a>
[src]
Creates a new set of proxy options ready to be configured.
fn auto(&mut self) -> &mut Self
[src]
Try to auto-detect the proxy from the git configuration.
Note that this will override url
specified before.
fn url(&mut self, url: &str) -> &mut Self
[src]
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>
[src]
fn default() -> ProxyOptions<'a>
[src]
Returns the "default value" for a type. Read more