Struct domain::bits::message_builder::OptBuilder[][src]

pub struct OptBuilder { /* fields omitted */ }

A type for building an OPT record on the fly.

The OPT record is part of the additional section. You can therefore get hold of a value of this type through the AdditionalBuilder::build_opt() method.

You use this value to add options to the record via the push() method. Once you are done, call complete() to finish up the record and get the additional builder back.

Methods

impl OptBuilder
[src]

Pushes an option to the OPT record.

Completes the OPT record and returns the additional section builder.

Trait Implementations

impl Clone for OptBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OptBuilder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for OptBuilder

impl Sync for OptBuilder