PollHandleResult

Enumin handlefastly 0.13.1View source
pub enum PollHandleResult {
Pending(PendingRequestHandle),
Done(Result<(ResponseHandle, BodyHandle), SendErrorCause>),
}

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

Variants

Pending

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

0: PendingRequestHandle

Done

The request has either completed or errored.

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

Auto trait implementations

Blanket implementations