pub enum SetDnsInternalErrorKind {
Url,
SerDe,
Http,
Utf8,
}Expand description
The internal failure kinds a set-dns request can surface.
Private to this module: SetDnsError owns its own internal vocabulary rather than borrowing a
sibling module’s. Only the generic kinds this RPC actually produces are represented.
Variants§
Url
Failed to build/parse a URL for the request.
SerDe
Failed to serialize the request or deserialize the response body.
Http
An unsuccessful (non-2xx) HTTP request, or an HTTP/transport error not classed as transient.
Utf8
The response body was not valid UTF-8.
Trait Implementations§
Source§impl Clone for SetDnsInternalErrorKind
impl Clone for SetDnsInternalErrorKind
Source§fn clone(&self) -> SetDnsInternalErrorKind
fn clone(&self) -> SetDnsInternalErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetDnsInternalErrorKind
Source§impl Debug for SetDnsInternalErrorKind
impl Debug for SetDnsInternalErrorKind
Source§impl Display for SetDnsInternalErrorKind
impl Display for SetDnsInternalErrorKind
impl Eq for SetDnsInternalErrorKind
Source§impl PartialEq for SetDnsInternalErrorKind
impl PartialEq for SetDnsInternalErrorKind
Source§fn eq(&self, other: &SetDnsInternalErrorKind) -> bool
fn eq(&self, other: &SetDnsInternalErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetDnsInternalErrorKind
Auto Trait Implementations§
impl Freeze for SetDnsInternalErrorKind
impl RefUnwindSafe for SetDnsInternalErrorKind
impl Send for SetDnsInternalErrorKind
impl Sync for SetDnsInternalErrorKind
impl Unpin for SetDnsInternalErrorKind
impl UnsafeUnpin for SetDnsInternalErrorKind
impl UnwindSafe for SetDnsInternalErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.