Enum dnstplib::message::question::QuestionParseError
source · pub enum QuestionParseError {
ShortLength(usize),
QTypeParse(u16),
QClassParse(u16),
UTF8Parse,
URLDecode,
}
Variants§
Trait Implementations§
source§impl Debug for QuestionParseError
impl Debug for QuestionParseError
source§impl Ord for QuestionParseError
impl Ord for QuestionParseError
source§fn cmp(&self, other: &QuestionParseError) -> Ordering
fn cmp(&self, other: &QuestionParseError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for QuestionParseError
impl PartialEq for QuestionParseError
source§fn eq(&self, other: &QuestionParseError) -> bool
fn eq(&self, other: &QuestionParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for QuestionParseError
impl PartialOrd for QuestionParseError
source§fn partial_cmp(&self, other: &QuestionParseError) -> Option<Ordering>
fn partial_cmp(&self, other: &QuestionParseError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for QuestionParseError
impl StructuralPartialEq for QuestionParseError
Auto Trait Implementations§
impl Freeze for QuestionParseError
impl RefUnwindSafe for QuestionParseError
impl Send for QuestionParseError
impl Sync for QuestionParseError
impl Unpin for QuestionParseError
impl UnwindSafe for QuestionParseError
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