chore: Remove unused files (#178)

This commit is contained in:
Lucio Franco
2019-12-11 22:32:48 -05:00
committed by GitHub
parent f46a45401d
commit 8f1a25278e
2 changed files with 0 additions and 50 deletions
-25
View File
@@ -1,25 +0,0 @@
use pin_project::pin_project;
use std::{
future::Future,
pin::Pin,
task::{Context, Poll},
};
#[pin_project]
pub struct ResponseFuture<F> {
inner: F,
span: Option<Span>,
}
impl<F: Future> Future for ResponseFuture<F> {
type Output = F::Output;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
let me = self.project();
if let Some(span) = me.span.clone().take() {
let _enter = span.enter();
// me.poll(cx).map_err(Into::into)
}
}
}
-25
View File
@@ -1,25 +0,0 @@
use pin_project::pin_project;
use std::{
future::Future,
pin::Pin,
task::{Context, Poll},
};
#[pin_project]
pub struct ResponseFuture<F> {
inner: F,
span: Option<Span>,
}
impl<F: Future> Future for ResponseFuture<F> {
type Output = F::Output;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
let me = self.project();
if let Some(span) = me.span.clone().take() {
let _enter = span.enter();
// me.poll(cx).map_err(Into::into)
}
}
}