pub struct Recipe { /* private fields */ }Expand description
A scalar call with whatever does not change from chunk to chunk already worked out.
Build one with Recipe::new when the pipeline is built, then run it per chunk with
call_prepared.
Implementations§
Source§impl Recipe
impl Recipe
Sourcepub fn new(name: &str, literals: &[Option<Value>]) -> Self
pub fn new(name: &str, literals: &[Option<Value>]) -> Self
What this call can work out from the arguments that are literals.
literals holds one entry per argument, which is the value where the argument is a literal
and None where it is anything else. An argument that is a literal in the plan arrives as a
constant vector holding that value on every chunk, so what is read here is what the kernel
would have read per chunk.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recipe
impl RefUnwindSafe for Recipe
impl Send for Recipe
impl Sync for Recipe
impl Unpin for Recipe
impl UnsafeUnpin for Recipe
impl UnwindSafe for Recipe
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