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