pub struct RedexEvent {
pub entry: RedexEntry,
pub payload: Bytes,
}Expand description
A materialized RedEX event: the 20-byte index record plus the payload bytes.
For INLINE entries, payload is the 8 inline bytes (held in a
short Bytes). For heap entries, payload is a slice over the
file’s payload segment.
Fields§
§entry: RedexEntryThe 20-byte on-disk record, verbatim.
payload: BytesThe materialized payload.
Trait Implementations§
Source§impl Clone for RedexEvent
impl Clone for RedexEvent
Source§fn clone(&self) -> RedexEvent
fn clone(&self) -> RedexEvent
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 moreAuto Trait Implementations§
impl !Freeze for RedexEvent
impl RefUnwindSafe for RedexEvent
impl Send for RedexEvent
impl Sync for RedexEvent
impl Unpin for RedexEvent
impl UnsafeUnpin for RedexEvent
impl UnwindSafe for RedexEvent
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