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

pub struct DNameBuilder<'a>(_);

Builds an owned domain step by step from bytes.

This type allows to build a DNameBuf slowly by feeding bytes. It is used by the master format scanner.

Methods

impl<'a> DNameBuilder<'a>
[src]

Create a new domain name builder.

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

Pushes an octet to the end of the builder.

Pushes a label end to the builder.

Extracts the finished domain name from the builder.

Trait Implementations

impl<'a> Clone for DNameBuilder<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for DNameBuilder<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for DNameBuilder<'a>

impl<'a> Sync for DNameBuilder<'a>