pub struct EnqueuedUsmBox<T, A: UsmAlloc> { /* private fields */ }Expand description
A UsmBox whose initialization has been enqueued. You need to wait/await it.
Implementations§
Trait Implementations§
Source§impl<T, A: UsmAlloc> IntoFuture for EnqueuedUsmBox<T, A>
impl<T, A: UsmAlloc> IntoFuture for EnqueuedUsmBox<T, A>
Source§type Output = Result<UsmBox<T, A>, Exception>
type Output = Result<UsmBox<T, A>, Exception>
The output that the future will produce on completion.
Source§type IntoFuture = UsmBoxFuture<T, A>
type IntoFuture = UsmBoxFuture<T, A>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<T, A> Freeze for EnqueuedUsmBox<T, A>where
A: Freeze,
impl<T, A> RefUnwindSafe for EnqueuedUsmBox<T, A>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> !Send for EnqueuedUsmBox<T, A>
impl<T, A> !Sync for EnqueuedUsmBox<T, A>
impl<T, A> Unpin for EnqueuedUsmBox<T, A>where
A: Unpin,
impl<T, A> UnwindSafe for EnqueuedUsmBox<T, A>where
A: UnwindSafe,
T: RefUnwindSafe,
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