#[non_exhaustive]pub enum AddressResolveErrorKind {
TemporaryFailure,
NameNotFound,
ServiceUnavailable,
InvalidHints,
PermanentFailure,
OutOfMemory,
System,
Other,
}Expand description
Portable classification of resolver failures. Native error codes remain available separately and are not errno values.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AddressResolveErrorKind
impl Clone for AddressResolveErrorKind
impl Copy for AddressResolveErrorKind
Source§impl Debug for AddressResolveErrorKind
impl Debug for AddressResolveErrorKind
impl Eq for AddressResolveErrorKind
Source§impl PartialEq for AddressResolveErrorKind
impl PartialEq for AddressResolveErrorKind
impl StructuralPartialEq for AddressResolveErrorKind
Auto Trait Implementations§
impl Freeze for AddressResolveErrorKind
impl RefUnwindSafe for AddressResolveErrorKind
impl Send for AddressResolveErrorKind
impl Sync for AddressResolveErrorKind
impl Unpin for AddressResolveErrorKind
impl UnsafeUnpin for AddressResolveErrorKind
impl UnwindSafe for AddressResolveErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more