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 __Origin<'__pin, 'h, R>: Unpin,
Auto Trait Implementations§
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
§impl<F> FutureExt for Fwhere
F: Future + ?Sized,
impl<F> FutureExt for Fwhere F: Future + ?Sized,
§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,
§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