(f: F)
| 244 | |
| 245 | impl<R> Operation<R> { |
| 246 | fn new<F>(f: F) -> Operation<R> |
| 247 | where |
| 248 | F: Fn( |
| 249 | &ExprContext, |
| 250 | Vec<CoercibleScalarExpr>, |
| 251 | &ParamList, |
| 252 | Vec<ColumnOrder>, |
| 253 | ) -> Result<R, PlanError> |
| 254 | + Send |
| 255 | + Sync |
| 256 | + 'static, |
| 257 | { |
| 258 | Operation(Box::new(f)) |
| 259 | } |
| 260 | |
| 261 | /// Builds an operation that takes no arguments. |
| 262 | fn nullary<F>(f: F) -> Operation<R> |
nothing calls this directly
no test coverage detected