pub struct RapiraCodec;Trait Implementations§
Source§impl Clone for RapiraCodec
impl Clone for RapiraCodec
Source§fn clone(&self) -> RapiraCodec
fn clone(&self) -> RapiraCodec
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<T: Rapira> Codec<T> for RapiraCodec
Available on crate feature rapira-codec only.
impl<T: Rapira> Codec<T> for RapiraCodec
Available on crate feature
rapira-codec only.Source§const INSPECTION_ENCODING: InspectionEncoding = InspectionEncoding::Rapira
const INSPECTION_ENCODING: InspectionEncoding = InspectionEncoding::Rapira
Declares how inspection should interpret encoded bytes for this codec.
Source§fn encode_to(&self, value: &T, buf: &mut Vec<u8>) -> DbResult<()>
fn encode_to(&self, value: &T, buf: &mut Vec<u8>) -> DbResult<()>
Encode
value into buf. Implementations must clear buf before writing —
the caller may pass a reusable buffer.fn decode_from(&self, bytes: &[u8]) -> DbResult<T>
Source§impl Debug for RapiraCodec
impl Debug for RapiraCodec
Source§impl Default for RapiraCodec
impl Default for RapiraCodec
Source§fn default() -> RapiraCodec
fn default() -> RapiraCodec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RapiraCodec
impl RefUnwindSafe for RapiraCodec
impl Send for RapiraCodec
impl Sync for RapiraCodec
impl Unpin for RapiraCodec
impl UnsafeUnpin for RapiraCodec
impl UnwindSafe for RapiraCodec
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