pub struct ColumnNothing { /* private fields */ }Expand description
Column for Nothing/Void type. Tracks row count without storing data.
Implementations§
Trait Implementations§
Source§impl Column for ColumnNothing
impl Column for ColumnNothing
Source§fn column_type(&self) -> &Type
fn column_type(&self) -> &Type
Get the type of this column
Source§fn append_column(&mut self, other: ColumnRef) -> Result<()>
fn append_column(&mut self, other: ColumnRef) -> Result<()>
Append another column’s data to this column
Source§fn load_from_buffer(&mut self, buffer: &mut &[u8], rows: usize) -> Result<()>
fn load_from_buffer(&mut self, buffer: &mut &[u8], rows: usize) -> Result<()>
Load column data from byte buffer
Source§fn save_to_buffer(&self, _buffer: &mut BytesMut) -> Result<()>
fn save_to_buffer(&self, _buffer: &mut BytesMut) -> Result<()>
Save column data to byte buffer
Source§fn clone_empty(&self) -> ColumnRef
fn clone_empty(&self) -> ColumnRef
Create an empty clone of this column (same type, no data)
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Downcast to a mutable concrete column type
Auto Trait Implementations§
impl Freeze for ColumnNothing
impl RefUnwindSafe for ColumnNothing
impl Send for ColumnNothing
impl Sync for ColumnNothing
impl Unpin for ColumnNothing
impl UnwindSafe for ColumnNothing
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