Struct persist::indexed::columnar::ColumnarRecordsRef [−][src]
struct ColumnarRecordsRef<'a> {
len: usize,
key_data: &'a [u8],
key_offsets: &'a [i32],
val_data: &'a [u8],
val_offsets: &'a [i32],
timestamps: &'a [u64],
diffs: &'a [i64],
}
Expand description
A reference to a ColumnarRecords.
Fields
len: usize
key_data: &'a [u8]
key_offsets: &'a [i32]
val_data: &'a [u8]
val_offsets: &'a [i32]
timestamps: &'a [u64]
diffs: &'a [i64]
Implementations
Read the record at idx
, if there is one.
Returns None if idx >= self.len()
.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ColumnarRecordsRef<'a>
impl<'a> Send for ColumnarRecordsRef<'a>
impl<'a> Sync for ColumnarRecordsRef<'a>
impl<'a> Unpin for ColumnarRecordsRef<'a>
impl<'a> UnwindSafe for ColumnarRecordsRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more