Struct domain::bits::name::DNameBuildInto[][src]

pub struct DNameBuildInto<'a, V: AsMut<Vec<u8>>> { /* fields omitted */ }

A type for iteratively pushing a domain name into a bytes vec.

Methods

impl<'a, V: AsMut<Vec<u8>>> DNameBuildInto<'a, V>
[src]

Creates a new domain name builder.

The domain name will be appended to the end of target.

If origin is given, it will be appened to the resulting domain name if it is relative.

Appends an octet to the end of the domain name.

Ends a label.

Finishes building the name and extracts the target.

Trait Implementations

impl<'a, V: Clone + AsMut<Vec<u8>>> Clone for DNameBuildInto<'a, V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, V: Debug + AsMut<Vec<u8>>> Debug for DNameBuildInto<'a, V>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, V> Send for DNameBuildInto<'a, V> where
    V: Send

impl<'a, V> Sync for DNameBuildInto<'a, V> where
    V: Sync