Enum dnstplib::message::message_parser::MessageParseError
source · pub enum MessageParseError {
HeaderParse(HeaderParseError),
QuesionsParse(QuestionParseError),
RecordParse(RecordParseError),
RecordCount(u16, usize),
}
Variants§
HeaderParse(HeaderParseError)
QuesionsParse(QuestionParseError)
RecordParse(RecordParseError)
RecordCount(u16, usize)
Trait Implementations§
source§impl Debug for MessageParseError
impl Debug for MessageParseError
source§impl Ord for MessageParseError
impl Ord for MessageParseError
source§fn cmp(&self, other: &MessageParseError) -> Ordering
fn cmp(&self, other: &MessageParseError) -> 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 MessageParseError
impl PartialEq for MessageParseError
source§fn eq(&self, other: &MessageParseError) -> bool
fn eq(&self, other: &MessageParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MessageParseError
impl PartialOrd for MessageParseError
source§fn partial_cmp(&self, other: &MessageParseError) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageParseError) -> 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 MessageParseError
impl StructuralPartialEq for MessageParseError
Auto Trait Implementations§
impl Freeze for MessageParseError
impl RefUnwindSafe for MessageParseError
impl Send for MessageParseError
impl Sync for MessageParseError
impl Unpin for MessageParseError
impl UnwindSafe for MessageParseError
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