pub struct AsyncFunction<F> { /* private fields */ }
Implementations§
Source§impl<F> AsyncFunction<F>
impl<F> AsyncFunction<F>
pub fn new(function: fn(F) -> PinnedFrameData<F>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for AsyncFunction<F>
impl<F> RefUnwindSafe for AsyncFunction<F>
impl<F> Send for AsyncFunction<F>
impl<F> Sync for AsyncFunction<F>
impl<F> Unpin for AsyncFunction<F>
impl<F> UnwindSafe for AsyncFunction<F>
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