Enum dominion::header::QueryResponse
source · pub enum QueryResponse {
Query,
Response,
}
Expand description
Query (0) or Response (1) packet.
Variants§
Trait Implementations§
source§impl Clone for QueryResponse
impl Clone for QueryResponse
source§fn clone(&self) -> QueryResponse
fn clone(&self) -> QueryResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueryResponse
impl Debug for QueryResponse
source§impl From<u16> for QueryResponse
impl From<u16> for QueryResponse
source§fn from(n: u16) -> QueryResponse
fn from(n: u16) -> QueryResponse
Converts to this type from the input type.
source§impl PartialEq<QueryResponse> for QueryResponse
impl PartialEq<QueryResponse> for QueryResponse
source§fn eq(&self, other: &QueryResponse) -> bool
fn eq(&self, other: &QueryResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.