pub struct LolFuture<'h, R> { /* private fields */ }
Expand description
await
this Future
to drive the html rewriting process. The
LolFuture contains the HtmlRewriter
and as a result is
!Send
, so it must be spawned locally.
Trait Implementations§
impl<'__pin, 'h, R> Unpin for LolFuture<'h, R>where
PinnedFieldsOf<__Origin<'__pin, 'h, R>>: Unpin,
Auto Trait Implementations§
impl<'h, R> Freeze for LolFuture<'h, R>where
R: Freeze,
impl<'h, R> !RefUnwindSafe for LolFuture<'h, R>
impl<'h, R> !Send for LolFuture<'h, R>
impl<'h, R> !Sync for LolFuture<'h, R>
impl<'h, R> !UnwindSafe for LolFuture<'h, R>
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> FutureExt for F
impl<F> FutureExt for F
Source§fn catch_unwind(self) -> CatchUnwind<Self>where
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self>where
Self: Sized + UnwindSafe,
Catches panics while polling the future. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§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