Struct grpcio::MetadataBuilder [] [src]

pub struct MetadataBuilder { /* fields omitted */ }

Builder for immutable Metadata.

Methods

impl MetadataBuilder
[src]

[src]

Create a builder with empty initial capacity.

[src]

Create a builder with the given value.

[src]

Add a metadata holding an ASCII value.

key must not use suffix (-bin) indicating a binary valued metadata entry.

[src]

Add a metadata holding a binary value.

key needs to have suffix (-bin) indicating a binary valued metadata entry.

[src]

Create Metadata with configured entries.

Trait Implementations

Auto Trait Implementations