Struct tower_http::cors::ResponseFuture
source · pub struct ResponseFuture<F> { /* private fields */ }
Expand description
Response future for Cors
.
Trait Implementations§
source§impl<F, B, E> Future for ResponseFuture<F>where
F: Future<Output = Result<Response<B>, E>>,
B: Default,
impl<F, B, E> Future for ResponseFuture<F>where F: Future<Output = Result<Response<B>, E>>, B: Default,
impl<'__pin, F> Unpin for ResponseFuture<F>where __Origin<'__pin, F>: Unpin,
Auto Trait Implementations§
impl<F> RefUnwindSafe for ResponseFuture<F>where F: RefUnwindSafe,
impl<F> Send for ResponseFuture<F>where F: Send,
impl<F> Sync for ResponseFuture<F>where F: Sync,
impl<F> UnwindSafe for ResponseFuture<F>where F: UnwindSafe,
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more