pub enum KeyValueContinuation {
BeginMarker(BeginMarker),
KeyMarker(KeyMarker),
EndMarker(EndMarker),
}
Expand description
Required.
Variants§
Implementations§
source§impl KeyValueContinuation
impl KeyValueContinuation
sourcepub fn merge<B>(
field: &mut Option<KeyValueContinuation>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>( field: &mut Option<KeyValueContinuation>, tag: u32, wire_type: WireType, buf: &mut B, ctx: DecodeContext ) -> Result<(), DecodeError>where B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for KeyValueContinuation
impl Clone for KeyValueContinuation
source§fn clone(&self) -> KeyValueContinuation
fn clone(&self) -> KeyValueContinuation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyValueContinuation
impl Debug for KeyValueContinuation
source§impl PartialEq<KeyValueContinuation> for KeyValueContinuation
impl PartialEq<KeyValueContinuation> for KeyValueContinuation
source§fn eq(&self, other: &KeyValueContinuation) -> bool
fn eq(&self, other: &KeyValueContinuation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeyValueContinuation
Auto Trait Implementations§
impl RefUnwindSafe for KeyValueContinuation
impl Send for KeyValueContinuation
impl Sync for KeyValueContinuation
impl Unpin for KeyValueContinuation
impl UnwindSafe for KeyValueContinuation
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