1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Contains data structures and utilities for handling gRPC custom metadata.
pub use Ascii;
pub use Binary;
pub use AsciiMetadataKey;
pub use BinaryMetadataKey;
pub use MetadataKey;
pub use Entry;
pub use GetAll;
pub use Iter;
pub use IterMut;
pub use KeyAndMutValueRef;
pub use KeyAndValueRef;
pub use KeyRef;
pub use Keys;
pub use MetadataMap;
pub use OccupiedEntry;
pub use VacantEntry;
pub use ValueDrain;
pub use ValueIter;
pub use ValueRef;
pub use ValueRefMut;
pub use Values;
pub use ValuesMut;
pub use AsciiMetadataValue;
pub use BinaryMetadataValue;
pub use MetadataValue;
use HeaderValue;
pub use GRPC_TIMEOUT_HEADER;
/// HTTP Header `content-type` value for gRPC calls.
pub const GRPC_CONTENT_TYPE: HeaderValue = from_static;
/// The metadata::errors module contains types for errors that can occur
/// while handling gRPC custom metadata.