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

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.

Implementations

impl NULL[src]

pub fn new() -> NULL[src]

Construct a new NULL RData

pub fn with(anything: Vec<u8>) -> NULL[src]

Constructs a new NULL RData with the associated data

pub fn anything(&self) -> Option<&[u8]>[src]

Returns the buffer stored in the NULL

Trait Implementations

impl Clone for NULL[src]

impl Debug for NULL[src]

impl Default for NULL[src]

impl Eq for NULL[src]

impl Hash for NULL[src]

impl PartialEq<NULL> for NULL[src]

impl StructuralEq for NULL[src]

impl StructuralPartialEq for NULL[src]

Auto Trait Implementations

impl RefUnwindSafe for NULL

impl Send for NULL

impl Sync for NULL

impl Unpin for NULL

impl UnwindSafe for NULL

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,