[][src]Struct domain::rdata::rfc1035::Null

pub struct Null<Octets> { /* fields omitted */ }

Null record data.

Null records can contain whatever data. They are experimental and not allowed in master files.

The Null record type is defined in RFC 1035, section 3.3.10.

Implementations

impl<Octets> Null<Octets>[src]

pub fn new(data: Octets) -> Self[src]

Creates new, empty owned Null record data.

pub fn data(&self) -> &Octets[src]

The raw content of the record.

impl<Octets: AsRef<[u8]>> Null<Octets>[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl<Octets: AsRef<Other>, Other> AsRef<Other> for Null<Octets>[src]

impl<Octets, Other> CanonicalOrd<Null<Other>> for Null<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets: Clone> Clone for Null<Octets>[src]

impl<Octets: AsRef<[u8]>> Compose for Null<Octets>[src]

impl<Octets: AsRef<[u8]>> Debug for Null<Octets>[src]

impl<Octets> Deref for Null<Octets>[src]

type Target = Octets

The resulting type after dereferencing.

impl<Octets: AsRef<[u8]>> Display for Null<Octets>[src]

impl<Octets: AsRef<[u8]>> Eq for Null<Octets>[src]

impl<O, N> From<Null<O>> for AllRecordData<O, N>[src]

impl<Octets> From<Octets> for Null<Octets>[src]

impl<Octets: AsRef<[u8]>> Hash for Null<Octets>[src]

impl<Octets: AsRef<[u8]>> Ord for Null<Octets>[src]

impl<Ref: OctetsRef> Parse<Ref> for Null<Ref::Range>[src]

impl<Octets, Other> PartialEq<Null<Other>> for Null<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets, Other> PartialOrd<Null<Other>> for Null<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets> RtypeRecordData for Null<Octets>[src]

Auto Trait Implementations

impl<Octets> RefUnwindSafe for Null<Octets> where
    Octets: RefUnwindSafe

impl<Octets> Send for Null<Octets> where
    Octets: Send

impl<Octets> Sync for Null<Octets> where
    Octets: Sync

impl<Octets> Unpin for Null<Octets> where
    Octets: Unpin

impl<Octets> UnwindSafe for Null<Octets> where
    Octets: UnwindSafe

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<!> for T[src]

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

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

impl<Octets, T> ParseRecordData<Octets> for T where
    T: RtypeRecordData + Parse<Octets> + Compose
[src]

impl<T> RecordData for T where
    T: Compose + RtypeRecordData
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,