(
&self,
task: &ExecutionTask,
payload: Vec<u8>,
)
| 23 | } |
| 24 | |
| 25 | pub(in crate::data::executor) fn response_with_payload( |
| 26 | &self, |
| 27 | task: &ExecutionTask, |
| 28 | payload: Vec<u8>, |
| 29 | ) -> Response { |
| 30 | Response { |
| 31 | request_id: task.request_id(), |
| 32 | status: Status::Ok, |
| 33 | attempt: 1, |
| 34 | partial: false, |
| 35 | payload: Payload::from_vec(payload), |
| 36 | watermark_lsn: self.watermark, |
| 37 | error_code: None, |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | pub(in crate::data::executor) fn response_partial( |
| 42 | &self, |
no test coverage detected