Enum fastly::http::request::PollResult
source · 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 !Freeze for PollResult
impl !RefUnwindSafe for PollResult
impl Send for PollResult
impl !Sync for PollResult
impl Unpin for PollResult
impl !UnwindSafe for PollResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more