pub enum ColumnContainer<T> {
Pos(usize),
Data(T),
}
Expand description
note: base1 type allows you to decode as needed for each grouping of data. for instance OColumnString is an array of strings, but you may only need a few strings on use. Store either data itself or a reference to the position in the protobuf to deserialize
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ColumnContainer<T>where
T: Freeze,
impl<T> RefUnwindSafe for ColumnContainer<T>where
T: RefUnwindSafe,
impl<T> Send for ColumnContainer<T>where
T: Send,
impl<T> Sync for ColumnContainer<T>where
T: Sync,
impl<T> Unpin for ColumnContainer<T>where
T: Unpin,
impl<T> UnwindSafe for ColumnContainer<T>where
T: UnwindSafe,
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