Type Alias packet::records::options::OptionSequenceBuilder

source ·
pub type OptionSequenceBuilder<R, I> = RecordSequenceBuilder<R, I>;
Expand description

A builder capable of serializing a sequence of options.

An OptionSequenceBuilder is instantiated with an Iterator that provides OptionBuilders to be serialized. The item produced by the iterator can be any type which implements Borrow<O> for O: OptionBuilder.

OptionSequenceBuilder implements InnerPacketBuilder.

Aliased Type§

struct OptionSequenceBuilder<R, I> { /* private fields */ }