pub enum QueryType {
Record(RecordType),
AXFR,
MAILB,
MAILA,
Wildcard,
}
Expand description
Query types are a superset of record types.
Variants§
Implementations§
Source§impl QueryType
impl QueryType
Sourcefn deserialise(
id: u16,
buffer: &mut ConsumableBuffer<'_>,
) -> Result<Self, Error>
fn deserialise( id: u16, buffer: &mut ConsumableBuffer<'_>, ) -> Result<Self, Error>
§Errors
If the query type is too short.
Trait Implementations§
Source§impl Ord for QueryType
impl Ord for QueryType
Source§impl PartialOrd for QueryType
impl PartialOrd for QueryType
impl Copy for QueryType
impl Eq for QueryType
impl StructuralPartialEq for QueryType
Auto Trait Implementations§
impl Freeze for QueryType
impl RefUnwindSafe for QueryType
impl Send for QueryType
impl Sync for QueryType
impl Unpin for QueryType
impl UnwindSafe for QueryType
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