Skip to main content

start_prepared_http_step_with_hooks

Function start_prepared_http_step_with_hooks 

Source
pub async fn start_prepared_http_step_with_hooks<FCancel, FStart, FStartFuture, FSend, FSendFuture>(
    client: &Client,
    prepared: PreparedHttpStep,
    step: &PipelineStep,
    should_cancel: FCancel,
    on_send_started: FStart,
    on_send_returned: FSend,
) -> Option<Result<StartedHttpStep, StepExecutionResult>>
where FCancel: FnMut() -> bool, FStart: FnMut() -> FStartFuture, FStartFuture: Future<Output = ()>, FSend: FnMut() -> FSendFuture, FSendFuture: Future<Output = ()>,