pub struct WalHeader {
pub shard_id: u32,
pub lsn: u64,
pub payload_len: u32,
}Expand description
A decoded logical WAL record header.
Fields§
§shard_id: u32Physical shard that produced the record.
lsn: u64Log sequence number (commit index) of the record.
payload_len: u32Length of the payload that follows the header.
Trait Implementations§
impl Copy for WalHeader
impl Eq for WalHeader
impl StructuralPartialEq for WalHeader
Auto Trait Implementations§
impl Freeze for WalHeader
impl RefUnwindSafe for WalHeader
impl Send for WalHeader
impl Sync for WalHeader
impl Unpin for WalHeader
impl UnsafeUnpin for WalHeader
impl UnwindSafe for WalHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.