pub struct DenseIngestOptions {
pub max_elements: Option<usize>,
}Expand description
Pre-allocation memory limit for dense ingestion (RFC 007 §3.5).
max_elements bounds the final element count of the constructed adapter
(len for a vector, rows * cols for a matrix), not the raw payload length.
Fields§
§max_elements: Option<usize>Maximum final element count accepted, or None for no limit.
Trait Implementations§
Source§impl Clone for DenseIngestOptions
impl Clone for DenseIngestOptions
Source§fn clone(&self) -> DenseIngestOptions
fn clone(&self) -> DenseIngestOptions
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 moreimpl Copy for DenseIngestOptions
Source§impl Debug for DenseIngestOptions
impl Debug for DenseIngestOptions
Source§impl Default for DenseIngestOptions
impl Default for DenseIngestOptions
Source§fn default() -> DenseIngestOptions
fn default() -> DenseIngestOptions
Returns the “default value” for a type. Read more
impl Eq for DenseIngestOptions
Source§impl PartialEq for DenseIngestOptions
impl PartialEq for DenseIngestOptions
Source§fn eq(&self, other: &DenseIngestOptions) -> bool
fn eq(&self, other: &DenseIngestOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DenseIngestOptions
Auto Trait Implementations§
impl Freeze for DenseIngestOptions
impl RefUnwindSafe for DenseIngestOptions
impl Send for DenseIngestOptions
impl Sync for DenseIngestOptions
impl Unpin for DenseIngestOptions
impl UnsafeUnpin for DenseIngestOptions
impl UnwindSafe for DenseIngestOptions
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