pub struct DecodedRecord<'a> {
pub record: WalRecord<'a>,
pub encoded_len: usize,
}Expand description
A complete checked record plus its encoded width.
Fields§
§record: WalRecord<'a>Checked logical record.
encoded_len: usizeBytes consumed by this record, including its checksum.
Trait Implementations§
Source§impl<'a> Clone for DecodedRecord<'a>
impl<'a> Clone for DecodedRecord<'a>
Source§fn clone(&self) -> DecodedRecord<'a>
fn clone(&self) -> DecodedRecord<'a>
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<'a> Copy for DecodedRecord<'a>
Source§impl<'a> Debug for DecodedRecord<'a>
impl<'a> Debug for DecodedRecord<'a>
impl<'a> Eq for DecodedRecord<'a>
Source§impl<'a> PartialEq for DecodedRecord<'a>
impl<'a> PartialEq for DecodedRecord<'a>
impl<'a> StructuralPartialEq for DecodedRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for DecodedRecord<'a>
impl<'a> RefUnwindSafe for DecodedRecord<'a>
impl<'a> Send for DecodedRecord<'a>
impl<'a> Sync for DecodedRecord<'a>
impl<'a> Unpin for DecodedRecord<'a>
impl<'a> UnsafeUnpin for DecodedRecord<'a>
impl<'a> UnwindSafe for DecodedRecord<'a>
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