pub enum PollResult {
Pending(PendingRequest),
Done(Result<Response, SendError>),
}
Expand description
The result of a call to PendingRequest::poll()
.
Variants
Pending(PendingRequest)
The request is still in progress, and can be polled again.
Done(Result<Response, SendError>)
The request has either completed or errored.
Auto Trait Implementations
impl !RefUnwindSafe for PollResult
impl Send for PollResult
impl Sync for PollResult
impl Unpin for PollResult
impl !UnwindSafe for PollResult
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