Re-exports
Modules
Macros
- Create a new
Characters
from a byte slice. The first byte of the slice will be the length of the sequence. Only insert the characters, not the length. The maximum length of the sequence is 255. This macro accepts an expression as input, which is evaluated at compile time. If you want to create aCharacters
from a byte slice of unknown length, use theCharacters::new
function instead. - Create a new
DnsName
from a byte slice. The domain name must be dot separated. The constructor will check convert the domain name to DNS wire format and check if it is valid. This macro accepts an expression as input, which is evaluated at compile time. If you want to create aDnsName
from a byte slice of unknown length, use theDnsName::new
function instead. - Create a new
Txt
from byte slices. The data will be concatenated and converted to DNS wire format. The maximum length of a single text value is 255 bytes. This macro accepts an expression as input, which is evaluated at compile time. If you want to create aTxt
from byte slices of unknown length, use theTxt::new
function instead.
Structs
- A DNS message.