pub struct Async<F> { /* private fields */ }
Expand description
Adapter for async methods that implements Method
and can be registered.
Implementations§
Trait Implementations§
Source§impl<C: NativeClass, F: AsyncMethod<C>> Method<C> for Async<F>
impl<C: NativeClass, F: AsyncMethod<C>> Method<C> for Async<F>
impl<F: Copy> Copy for Async<F>
Auto Trait Implementations§
impl<F> Freeze for Async<F>where
F: Freeze,
impl<F> RefUnwindSafe for Async<F>where
F: RefUnwindSafe,
impl<F> Send for Async<F>where
F: Send,
impl<F> Sync for Async<F>where
F: Sync,
impl<F> Unpin for Async<F>where
F: Unpin,
impl<F> UnwindSafe for Async<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