Module tonic::metadata

source ·
Expand description

Contains data structures and utilities for handling gRPC custom metadata.

Modules§

  • The metadata::errors module contains types for errors that can occur while handling gRPC custom metadata.

Structs§

  • A view to all values stored in a single entry.
  • MetadataMap entry iterator.
  • MetadataMap entry iterator.
  • An iterator over MetadataMap keys.
  • Represents a custom metadata field name.
  • A set of gRPC custom metadata entries.
  • Represents a custom metadata field value.
  • A view into a single occupied location in a MetadataMap.
  • A view into a single empty location in a MetadataMap.
  • A drain iterator of all values associated with a single metadata key.
  • An iterator of all values associated with a single metadata key.
  • MetadataMap value iterator.
  • MetadataMap value iterator.

Enums§

  • gRPC metadata values can be either ASCII strings or binary. Note that only visible ASCII characters (32-127) are permitted. This type should never be instantiated – in fact, it’s impossible to, because there’s no variants to instantiate. Instead, it’s just used as a type parameter for MetadataKey and MetadataValue.
  • gRPC metadata values can be either ASCII strings or binary. This type should never be instantiated – in fact, it’s impossible to, because there’s no variants to instantiate. Instead, it’s just used as a type parameter for MetadataKey and MetadataValue.
  • A view into a single location in a MetadataMap, which may be vacant or occupied.
  • Reference to a key and an associated value in a MetadataMap. It can point to either an ascii or a binary (“*-bin”) key.
  • Reference to a key and an associated value in a MetadataMap. It can point to either an ascii or a binary (“*-bin”) key.
  • Reference to a key in a MetadataMap. It can point to either an ascii or a binary (“*-bin”) key.
  • Reference to a value in a MetadataMap. It can point to either an ascii or a binary (“*-bin” key) value.
  • Reference to a value in a MetadataMap. It can point to either an ascii or a binary (“*-bin” key) value.

Constants§

Type Aliases§