pub struct InformationRequestHeaderTagBuilder { /* private fields */ }
Expand description

Helper to build the dynamically sized InformationRequestHeaderTag at runtime. The information request tag has a dedicated builder because this way one can dynamically attach several requests to it. Otherwise, the number of requested tags must be known at compile time.

Implementations

New builder.

Returns the expected length of the information request tag, when the build-method gets called.

Adds an MbiTagType to the information request.

Adds multiple MbiTagType to the information request.

Builds the bytes of the dynamically sized information request header.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.