[−]Enum resolv_conf::ParseError
Error while parsing resolv.conf file
Variants
Error that may be returned when the string to parse contains invalid UTF-8 sequences
InvalidValue(usize)
Error returned a value for a given directive is invalid. This can also happen when the value is missing, if the directive requires a value.
InvalidOptionValue(usize)
Error returned when a value for a given option is invalid. This can also happen when the value is missing, if the option requires a value.
InvalidOption(usize)
Error returned when a invalid option is found.
InvalidDirective(usize)
Error returned when a invalid directive is found.
InvalidIp(usize, AddrParseError)
Error returned when a value cannot be parsed an an IP address.
ExtraData(usize)
Error returned when there is extra data at the end of a line.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,