pub struct RecordCodec<H, R>(/* private fields */);
Trait Implementations§
Source§impl<H: Clone, R: Clone> Clone for RecordCodec<H, R>
impl<H: Clone, R: Clone> Clone for RecordCodec<H, R>
Source§fn clone(&self) -> RecordCodec<H, R>
fn clone(&self) -> RecordCodec<H, R>
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<H, R> Decoder for RecordCodec<H, R>where
H: Length,
for<'de> R: Deserialize<'de>,
impl<H, R> Decoder for RecordCodec<H, R>where
H: Length,
for<'de> R: Deserialize<'de>,
Source§impl<H: Default, R: Default> Default for RecordCodec<H, R>
impl<H: Default, R: Default> Default for RecordCodec<H, R>
Source§fn default() -> RecordCodec<H, R>
fn default() -> RecordCodec<H, R>
Returns the “default value” for a type. Read more
Source§impl<H, R> Encoder for RecordCodec<H, R>where
H: Length,
R: Serialize,
impl<H, R> Encoder for RecordCodec<H, R>where
H: Length,
R: Serialize,
impl<H: Copy, R: Copy> Copy for RecordCodec<H, R>
Auto Trait Implementations§
impl<H, R> Freeze for RecordCodec<H, R>
impl<H, R> RefUnwindSafe for RecordCodec<H, R>where
H: RefUnwindSafe,
R: RefUnwindSafe,
impl<H, R> Send for RecordCodec<H, R>
impl<H, R> Sync for RecordCodec<H, R>
impl<H, R> Unpin for RecordCodec<H, R>
impl<H, R> UnwindSafe for RecordCodec<H, R>where
H: UnwindSafe,
R: UnwindSafe,
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