Struct trust_dns::rr::rdata::null::NULL [] [src]

pub struct NULL {
    // some fields omitted
}

RFC 1035, DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION, November 1987

3.3.10. NULL RDATA format (EXPERIMENTAL)

    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    /                  <anything>                   /
    /                                               /
    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Anything at all may be in the RDATA field so long as it is 65535 octets
or less.

NULL records cause no additional section processing.  NULL RRs are not
allowed in master files.  NULLs are used as placeholders in some
experimental extensions of the DNS.

Methods

impl NULL

fn new() -> NULL

fn with(anything: Vec<u8>) -> NULL

fn get_anything(&self) -> Option<&Vec<u8>>

Trait Implementations

Derived Implementations

impl Clone for NULL

fn clone(&self) -> NULL

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

impl Hash for NULL

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for NULL

impl PartialEq for NULL

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

fn ne(&self, __arg_0: &NULL) -> bool

impl Debug for NULL

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