Enum trust_dns::op::header::MessageType [] [src]

pub enum MessageType {
    Query,
    Response,
}

Variants

Query
Response

Trait Implementations

Derived Implementations

impl Clone for MessageType

fn clone(&self) -> MessageType

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for MessageType

impl PartialOrd for MessageType

fn partial_cmp(&self, __arg_0: &MessageType) -> Option<Ordering>

1.0.0fn lt(&self, other: &Rhs) -> bool

1.0.0fn le(&self, other: &Rhs) -> bool

1.0.0fn gt(&self, other: &Rhs) -> bool

1.0.0fn ge(&self, other: &Rhs) -> bool

impl PartialEq for MessageType

fn eq(&self, __arg_0: &MessageType) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Debug for MessageType

fn fmt(&self, __arg_0: &mut Formatter) -> Result