Enum tonic::metadata::ValueRefMut
source · pub enum ValueRefMut<'a> {
Ascii(&'a mut MetadataValue<Ascii>),
Binary(&'a mut MetadataValue<Binary>),
}
Expand description
Reference to a value in a MetadataMap
. It can point
to either an ascii or a binary (“*-bin” key) value.
Variants§
Ascii(&'a mut MetadataValue<Ascii>)
An ascii metadata key and value.
Binary(&'a mut MetadataValue<Binary>)
A binary metadata key and value.