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