Enum fastly::handle::PollHandleResult
source · [−]pub enum PollHandleResult {
Pending(PendingRequestHandle),
Done(Result<(ResponseHandle, BodyHandle), SendErrorCause>),
}
Expand description
The result of a call to PendingRequestHandle::poll()
.
Variants
Pending(PendingRequestHandle)
The request is still in progress, and can be polled again using the given handle.
Done(Result<(ResponseHandle, BodyHandle), SendErrorCause>)
The request has either completed or errored.
Auto Trait Implementations
impl !RefUnwindSafe for PollHandleResult
impl Send for PollHandleResult
impl Sync for PollHandleResult
impl Unpin for PollHandleResult
impl !UnwindSafe for PollHandleResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more