pub struct AutoConfig {
pub file_size: u64,
pub memory: Option<u64>,
pub threads: Option<usize>,
pub schema: Option<Vec<String>>,
pub has_parallel: bool,
pub has_columnar: bool,
}Expand description
Configuration for the auto engine selection heuristic.
Fields§
§file_size: u64Size of the input file in bytes.
memory: Option<u64>Memory budget (e.g. 64 MiB). None = no budget (full table).
threads: Option<usize>Number of threads for parallel processing. None = 1 (single-threaded).
schema: Option<Vec<String>>Explicit schema (column names). Some = schema provided, None = discover.
has_parallel: boolWhether the adapter has parallel support.
has_columnar: boolWhether the adapter has columnar support.
Auto Trait Implementations§
impl Freeze for AutoConfig
impl RefUnwindSafe for AutoConfig
impl Send for AutoConfig
impl Sync for AutoConfig
impl Unpin for AutoConfig
impl UnsafeUnpin for AutoConfig
impl UnwindSafe for AutoConfig
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more