PollResult

Enumin requestfastly 0.13.1View source
pub enum PollResult {
Pending(PendingRequest),
Done(Result<Response, SendError>),
}

The result of a call to PendingRequest::poll().

Variants

Pending

The request is still in progress, and can be polled again.

0: PendingRequest

Done

The request has either completed or errored.

0: Result<crate::Response, super::SendError>

Auto trait implementations

Blanket implementations