pub struct CompactSnapshotCodec;Trait Implementations§
Source§impl Clone for CompactSnapshotCodec
impl Clone for CompactSnapshotCodec
Source§fn clone(&self) -> CompactSnapshotCodec
fn clone(&self) -> CompactSnapshotCodec
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 moreSource§impl Codec<ProjectionSnapshot<MemoryProjection>> for CompactSnapshotCodec
impl Codec<ProjectionSnapshot<MemoryProjection>> for CompactSnapshotCodec
Source§fn encode(
&self,
value: &ProjectionSnapshot<MemoryProjection>,
) -> Result<Vec<u8>>
fn encode( &self, value: &ProjectionSnapshot<MemoryProjection>, ) -> Result<Vec<u8>>
Encodes one value. Read more
Source§fn decode(&self, bytes: &[u8]) -> Result<ProjectionSnapshot<MemoryProjection>>
fn decode(&self, bytes: &[u8]) -> Result<ProjectionSnapshot<MemoryProjection>>
Decodes one complete value. Read more
impl Copy for CompactSnapshotCodec
Source§impl Debug for CompactSnapshotCodec
impl Debug for CompactSnapshotCodec
Source§impl Default for CompactSnapshotCodec
impl Default for CompactSnapshotCodec
Source§fn default() -> CompactSnapshotCodec
fn default() -> CompactSnapshotCodec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompactSnapshotCodec
impl RefUnwindSafe for CompactSnapshotCodec
impl Send for CompactSnapshotCodec
impl Sync for CompactSnapshotCodec
impl Unpin for CompactSnapshotCodec
impl UnsafeUnpin for CompactSnapshotCodec
impl UnwindSafe for CompactSnapshotCodec
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