packet::records::options

Type Alias 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 */ }