pub(crate) fn on_result(&mut self, result: Result<(), curl::Error>) {
        self.shared.completed.store(true);

        match result {
            Ok(()) => self.flush_response_headers(),
            Err(e) => {
                log::debug!("curl error: {}", e);
                self.complete(Err(e.into()));
            }
        }
    }
/// Handle a result produced by curl for this handler's current transfer.
Handle a result produced by curl for this handler's current transfer.
Handle a result produced by curl for this handler ' s current transfer .
pub(crate) fn on_result(&mut self, result: Result<(), curl::Error>) {
        self.shared.completed.store(true);
        match result {
            Ok(()) => self.flush_response_headers(),
            Err(e) => {
                log::debug!("curl error: {}", e);
                self.complete(Err(e.into()));
            }
        }
    }
pub ( crate ) fn on_result ( & mut self , result : Result < ( ) , curl :: Error > ) { self . shared . completed . store ( true ) ; match result { Ok ( ( ) ) => self . flush_response_headers ( ) , Err ( e ) => { log :: debug ! ( " " e ) ; self . complete ( Err ( e . into ( ) ) ) ; } } }
Handle a result produced by curl for this handler's current transfer.
Handle a result produced by curl for this handler ' s current transfer .
&mut self
result
Result<(), curl::Error>