Enum trust_dns::op::MessageType
[−]
[src]
pub enum MessageType {
Query,
Response,
}Message types are either Query (also Update) or Response
Variants
QueryQueries are Client requests, these are either Queries or Updates
ResponseResponse message from the Server or upstream Resolver
Trait Implementations
impl Copy for MessageType[src]
impl Clone for MessageType[src]
fn clone(&self) -> MessageType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<MessageType> for MessageType[src]
fn eq(&self, __arg_0: &MessageType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for MessageType[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.