pub struct ProtobufEncoder;Available on crate feature
protobuf only.Expand description
Per-stream state for ProtobufStreamFormat. There is none: every frame is self-describing.
Trait Implementations§
Source§impl Clone for ProtobufEncoder
impl Clone for ProtobufEncoder
Source§fn clone(&self) -> ProtobufEncoder
fn clone(&self) -> ProtobufEncoder
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 ProtobufEncoder
Source§impl Debug for ProtobufEncoder
impl Debug for ProtobufEncoder
Source§impl Default for ProtobufEncoder
impl Default for ProtobufEncoder
Source§fn default() -> ProtobufEncoder
fn default() -> ProtobufEncoder
Returns the “default value” for a type. Read more
Source§impl<T> ItemEncoder<T> for ProtobufEncoderwhere
T: Message,
impl<T> ItemEncoder<T> for ProtobufEncoderwhere
T: Message,
Auto Trait Implementations§
impl Freeze for ProtobufEncoder
impl RefUnwindSafe for ProtobufEncoder
impl Send for ProtobufEncoder
impl Sync for ProtobufEncoder
impl Unpin for ProtobufEncoder
impl UnsafeUnpin for ProtobufEncoder
impl UnwindSafe for ProtobufEncoder
Blanket Implementations§
impl<T> Allocation for T
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