#[non_exhaustive]
pub enum Binary {}
Expand description
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
.
Trait Implementations§
source§impl PartialEq<Binary> for Binary
impl PartialEq<Binary> for Binary
impl Eq for Binary
impl StructuralEq for Binary
impl StructuralPartialEq for Binary
Auto Trait Implementations§
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.