pub struct ContextDefer(pub Context);Tuple Fields§
§0: ContextTrait Implementations§
Source§impl Defer for ContextDefer
impl Defer for ContextDefer
Source§fn wait_until(&self, fut: BoxFuture<'static, ()>)
fn wait_until(&self, fut: BoxFuture<'static, ()>)
Schedule work to continue after the response is returned
(
Context::wait_until on Workers, tokio::spawn natively).Auto Trait Implementations§
impl Freeze for ContextDefer
impl RefUnwindSafe for ContextDefer
impl Send for ContextDefer
impl Sync for ContextDefer
impl Unpin for ContextDefer
impl UnsafeUnpin for ContextDefer
impl UnwindSafe for ContextDefer
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