pub struct ProtobufFormatter;Expand description
Placeholder for the binary formatter.
content_type reports the negotiated
media type, but encode always fails with
Error::UnsupportedTransport — see the module docs for why.
Implementations§
Trait Implementations§
Source§impl Clone for ProtobufFormatter
impl Clone for ProtobufFormatter
Source§fn clone(&self) -> ProtobufFormatter
fn clone(&self) -> ProtobufFormatter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProtobufFormatter
Source§impl Debug for ProtobufFormatter
impl Debug for ProtobufFormatter
Source§impl Default for ProtobufFormatter
impl Default for ProtobufFormatter
Source§fn default() -> ProtobufFormatter
fn default() -> ProtobufFormatter
Returns the “default value” for a type. Read more
impl Eq for ProtobufFormatter
Source§impl PartialEq for ProtobufFormatter
impl PartialEq for ProtobufFormatter
Source§fn eq(&self, other: &ProtobufFormatter) -> bool
fn eq(&self, other: &ProtobufFormatter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtobufFormatter
Auto Trait Implementations§
impl Freeze for ProtobufFormatter
impl RefUnwindSafe for ProtobufFormatter
impl Send for ProtobufFormatter
impl Sync for ProtobufFormatter
impl Unpin for ProtobufFormatter
impl UnsafeUnpin for ProtobufFormatter
impl UnwindSafe for ProtobufFormatter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.