pub struct Async<T> { /* private fields */ }
Expand description
A wrapper type around some “handle” that we want to perform asynchronous operations on, where that handle must implement AsyncSetup.
Implementations§
source§impl<T: AsyncSetup> Async<T>
impl<T: AsyncSetup> Async<T>
sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Consume this Async
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Async<T>
impl<T> !ObjSafe for Async<T>
impl<T> RefUnwindSafe for Async<T>where
T: RefUnwindSafe,
impl<T> Send for Async<T>where
T: Send,
impl<T> Sync for Async<T>where
T: Sync,
impl<T> Unpin for Async<T>
impl<T> UnwindSafe for Async<T>where
T: 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