---
title: PollHandleResult
summary: The result of a call to PendingRequestHandle::poll().
url: https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/handle/enum.PollHandleResult/
---

**Kind:** Enum  
**Module:** [handle](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/handle/)  
**Package:** fastly 0.13.1  
**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/http/request/pending/handle.rs#267

```rust
pub enum PollHandleResult {
    Pending(PendingRequestHandle),
    Done(Result<(ResponseHandle, BodyHandle), SendErrorCause>),
}
```

The result of a call to [`PendingRequestHandle::poll()`](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/handle/struct.PendingRequestHandle/#method-poll).

## Variants

### Pending

- `0`: `PendingRequestHandle`

The request is still in progress, and can be polled again using the given handle.

### Done

- `0`: `Result<(crate::handle::ResponseHandle, crate::handle::BodyHandle), crate::http::request::SendErrorCause>`

The request has either completed or errored.

## Auto trait implementations

- `Freeze`
- `RefUnwindSafe`
- `Send`
- `Sync`
- `Unpin`
- `UnsafeUnpin`
- `UnwindSafe`

## Blanket implementations

- `Any`
- `Borrow<T>`
- `BorrowMut<T>`
- `Downcast`
- `DowncastSync`
- `ErasedDestructor`
- `From<T>`
- `Into<U>`
- `IntoEither`
- `Same`
- `TryFrom<U>`
- `TryInto<U>`
