Struct trust_dns_proto::xfer::SerialMessage
source · [−]pub struct SerialMessage { /* private fields */ }
Expand description
A DNS message in serialized form, with either the target address or source address
Implementations
Construct a new SerialMessage and the source or destination address
Get a reference to the bytes
Get the source or destination address (context dependent)
Unwrap the Bytes and address
Build a SerialMessage
from some bytes and an address
Deserializes the inner data into a Message
Trait Implementations
Performs the conversion.