Struct domain::bits::record::RecordBuilder[][src]

pub struct RecordBuilder<C: AsMut<Composer>> { /* fields omitted */ }

A type for building records in place.

This type can be used to build complex record types without first assembling the record data first, saving one copy.

A value of this type is created via new() which is given the target to build into and the name, class, type, and ttl of the record. The returned value is a composer and the record data can be written into it. Once all writing is done, the original target can be retrieved via the finish() method.

Methods

impl<C: AsMut<Composer>> RecordBuilder<C>
[src]

Trait Implementations

impl<C: Clone + AsMut<Composer>> Clone for RecordBuilder<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug + AsMut<Composer>> Debug for RecordBuilder<C>
[src]

Formats the value using the given formatter. Read more

impl<C: AsMut<Composer>> AsMut<Composer> for RecordBuilder<C>
[src]

Performs the conversion.

Auto Trait Implementations

impl<C> Send for RecordBuilder<C> where
    C: Send

impl<C> Sync for RecordBuilder<C> where
    C: Sync