Enum curl::easy::NetRc
pub enum NetRc {
Ignored,
Optional,
Required,
}
Documentation
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 Debug for NetRc
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
Auto Trait Implementations
impl RefUnwindSafe for NetRc
impl UnwindSafe for NetRc
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T