pub enum BatchOutcome {
Scrape(ScrapeResult),
Proxified(BatchProxifiedResponse),
Err(ScrapflyError),
}Expand description
Per-part outcome yielded by Client::scrape_batch.
Variants§
Scrape(ScrapeResult)
Standard per-part scrape result (JSON envelope decoded).
Proxified(BatchProxifiedResponse)
Proxified part: the upstream’s raw response, with status +
headers + body restored from the multipart part metadata.
Surfaces when the originating ScrapeConfig.proxified_response == true. Matches the single-scrape scrape_proxified()
return shape as closely as we can without a live connection.
Err(ScrapflyError)
Per-part error (decode failure, per-scrape upstream error, etc.).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BatchOutcome
impl !RefUnwindSafe for BatchOutcome
impl Send for BatchOutcome
impl Sync for BatchOutcome
impl Unpin for BatchOutcome
impl !UnwindSafe for BatchOutcome
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