[][src]Struct grpcio::MetadataBuilder

pub struct MetadataBuilder { /* fields omitted */ }

Builder for immutable Metadata.

Methods

impl MetadataBuilder
[src]

Create a builder with empty initial capacity.

Create a builder with the given value.

Add a metadata holding an ASCII value.

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

Add a metadata holding a binary value.

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

Create Metadata with configured entries.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]