pub enum ParseDnsEntryError {
UnknownEntry(String),
FieldNotFound(&'static str),
Base64DecodeError(String),
Base32DecodeError(String),
RlpDecodeError(String),
InvalidChildHash(String),
Other(String),
}
Expand description
Error while parsing a DnsEntry
Variants§
UnknownEntry(String)
Unknown entry error. Indicates an unknown entry encountered during parsing.
FieldNotFound(&'static str)
Field not found error. Indicates a field was not found during parsing.
Base64DecodeError(String)
Base64 decoding error. Indicates a failure during Base64 decoding.
Base32DecodeError(String)
Base32 decoding error. Indicates a failure during Base32 decoding.
RlpDecodeError(String)
RLP decoding error. Indicates an error during RLP decoding.
InvalidChildHash(String)
Invalid child hash error in a branch. Indicates an invalid child hash within a branch.
Other(String)
Other error. Indicates other unspecified errors.
Trait Implementations§
Source§impl Debug for ParseDnsEntryError
impl Debug for ParseDnsEntryError
Source§impl Display for ParseDnsEntryError
impl Display for ParseDnsEntryError
Source§impl Error for ParseDnsEntryError
impl Error for ParseDnsEntryError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for ParseDnsEntryError
impl RefUnwindSafe for ParseDnsEntryError
impl Send for ParseDnsEntryError
impl Sync for ParseDnsEntryError
impl Unpin for ParseDnsEntryError
impl UnwindSafe for ParseDnsEntryError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
UnknownEntry
: 24 bytesFieldNotFound
: 16 bytesBase64DecodeError
: 24 bytesBase32DecodeError
: 24 bytesRlpDecodeError
: 24 bytesInvalidChildHash
: 24 bytesOther
: 24 bytes