pub struct EncodedBlock {
pub encoding: EncodingType,
pub payload: Vec<u8>,
}Expand description
An encoded column block ready to be written to a segment.
Contains the encoding type discriminant and the raw payload bytes.
Fields§
§encoding: EncodingTypeWhich encoder produced this block.
payload: Vec<u8>Raw encoded payload (without the type tag).
Implementations§
Trait Implementations§
Source§impl Clone for EncodedBlock
impl Clone for EncodedBlock
Source§fn clone(&self) -> EncodedBlock
fn clone(&self) -> EncodedBlock
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 EncodedBlock
impl RefUnwindSafe for EncodedBlock
impl Send for EncodedBlock
impl Sync for EncodedBlock
impl Unpin for EncodedBlock
impl UnsafeUnpin for EncodedBlock
impl UnwindSafe for EncodedBlock
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