#[non_exhaustive]
pub enum Ascii {}
Expand description
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
.
Trait Implementations§
impl Eq for Ascii
impl StructuralEq for Ascii
impl StructuralPartialEq for Ascii
Auto Trait Implementations§
impl RefUnwindSafe for Ascii
impl Send for Ascii
impl Sync for Ascii
impl Unpin for Ascii
impl UnwindSafe for Ascii
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.