View Source dns_record_info (dns_erlang v3.1.2)

This module exports utility functions used to inspect records. You will generally not use these functions directly.

Summary

Functions

atom_for_type/1

-spec atom_for_type(dns:type()) -> atom() | undefined.

fields/1

-spec fields(atom()) -> [atom(), ...].

size/1

-spec size(atom()) -> non_neg_integer().

type_for_atom/1

-spec type_for_atom(atom()) -> dns:type() | undefined.