pub enum KernelChoice {
Auto,
All(Kernel),
PerColumn(BTreeMap<String, Kernel>),
}Expand description
Which kernel(s) to use for the columns of a query.
Variants§
Auto
Test-specific default kernel.
All(Kernel)
One kernel for every column.
PerColumn(BTreeMap<String, Kernel>)
A kernel per named column.
Implementations§
Source§impl KernelChoice
impl KernelChoice
Sourcepub fn validate(&self, data: &Dataset) -> Result<(), CIError>
pub fn validate(&self, data: &Dataset) -> Result<(), CIError>
Validate every kernel and that every PerColumn key names a column.
§Errors
CIError::InvalidConfig for a bad kernel, CIError::UnknownColumn
for an unknown column name.
Trait Implementations§
Source§impl Clone for KernelChoice
impl Clone for KernelChoice
Source§impl Debug for KernelChoice
impl Debug for KernelChoice
Source§impl Default for KernelChoice
impl Default for KernelChoice
Source§impl PartialEq for KernelChoice
impl PartialEq for KernelChoice
impl StructuralPartialEq for KernelChoice
Auto Trait Implementations§
impl Freeze for KernelChoice
impl RefUnwindSafe for KernelChoice
impl Send for KernelChoice
impl Sync for KernelChoice
impl Unpin for KernelChoice
impl UnsafeUnpin for KernelChoice
impl UnwindSafe for KernelChoice
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