pub struct DnsErrorPayload {
pub rcode: Option<String>,
pub info_code: Option<u16>,
}Expand description
The payload of HttpError::DnsError, as WASI’s DNS-error-payload.
Fields§
§rcode: Option<String>The resolver’s response code, when it gave one.
info_code: Option<u16>The resolver’s extended information code, when it gave one.
Trait Implementations§
Source§impl Clone for DnsErrorPayload
impl Clone for DnsErrorPayload
Source§impl Debug for DnsErrorPayload
impl Debug for DnsErrorPayload
impl Eq for DnsErrorPayload
Source§impl PartialEq for DnsErrorPayload
impl PartialEq for DnsErrorPayload
impl StructuralPartialEq for DnsErrorPayload
Auto Trait Implementations§
impl Forget for DnsErrorPayload
impl Freeze for DnsErrorPayload
impl Move for DnsErrorPayload
impl RefUnwindSafe for DnsErrorPayload
impl Send for DnsErrorPayloadwhere
RawVecInner: Send,
impl Sync for DnsErrorPayloadwhere
RawVecInner: Sync,
impl Unpin for DnsErrorPayload
impl UnsafeUnpin for DnsErrorPayload
impl UnwindSafe for DnsErrorPayloadwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.