Enum curl::easy::NetRc [] [src]

pub enum NetRc {
    Ignored,
    Optional,
    Required,
}

Options for .netrc parsing.

Variants

Ignoring .netrc file and use information from url

This option is default

The use of your ~/.netrc file is optional, and information in the URL is to be preferred. The file will be scanned for the host and user name (to find the password only) or for the host only, to find the first user name and password after that machine, which ever information is not specified in the URL.

This value tells the library that use of the file is required, to ignore the information in the URL, and to search the file for the host only.

Trait Implementations

impl Debug for NetRc
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for NetRc

impl Sync for NetRc