Enum curl::easy::NetRc
pub enum NetRc {
Ignored,
Optional,
Required,
}Documentation
Options for .netrc parsing.
Variants
IgnoredIgnoring .netrc file and use information from url
This option is default
OptionalThe 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.
RequiredThis 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::ResultAuto Trait Implementations
impl RefUnwindSafe for NetRcimpl UnwindSafe for NetRcBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T