[−][src]Trait trust_dns_proto::serialize::binary::BinEncodable
A type which can be encoded into a DNS binary format
Required methods
fn emit(&self, encoder: &mut BinEncoder) -> ProtoResult<()>
Write the type to the stream
Provided methods
fn to_bytes(&self) -> ProtoResult<Vec<u8>>
Returns the object in binary form