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

pub enum NetRc {
    Ignored,
    Optional,
    Required,
}

Options for .netrc parsing.

Variants

Ignored

Ignoring .netrc file and use information from url

This option is default

Optional

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.

Required

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 Clone for NetRc[src]

impl Copy for NetRc[src]

impl Debug for NetRc[src]

Auto Trait Implementations

impl RefUnwindSafe for NetRc[src]

impl Send for NetRc[src]

impl Sync for NetRc[src]

impl Unpin for NetRc[src]

impl UnwindSafe for NetRc[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.