Struct trust_dns_proto::rr::rdata::null::NULL [−][src]
pub struct NULL { /* 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[src]
impl NULLpub fn new() -> NULL[src]
pub fn new() -> NULLConstruct a new NULL RData
pub fn with(anything: Vec<u8>) -> NULL[src]
pub fn with(anything: Vec<u8>) -> NULLConstructs a new NULL RData with the associated data
pub fn anything(&self) -> Option<&Vec<u8>>[src]
pub fn anything(&self) -> Option<&Vec<u8>>Returns the buffer stored in the NULL
Trait Implementations
impl Default for NULL[src]
impl Default for NULLimpl Debug for NULL[src]
impl Debug for NULLfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for NULL[src]
impl PartialEq for NULLfn eq(&self, other: &NULL) -> bool[src]
fn eq(&self, other: &NULL) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &NULL) -> bool[src]
fn ne(&self, other: &NULL) -> boolThis method tests for !=.
impl Eq for NULL[src]
impl Eq for NULLimpl Hash for NULL[src]
impl Hash for NULLfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for NULL[src]
impl Clone for NULL