#[repr(C)]pub struct StaticFuture<F>(pub UnsafeCell<usize>, pub F);Available on crate feature
static only.Tuple Fields§
§0: UnsafeCell<usize>§1: FImplementations§
Source§impl<F: SafeFuture> StaticFuture<StaticCell<F>>
impl<F: SafeFuture> StaticFuture<StaticCell<F>>
Trait Implementations§
Auto Trait Implementations§
impl<F> !Freeze for StaticFuture<F>
impl<F> !RefUnwindSafe for StaticFuture<F>
impl<F> Send for StaticFuture<F>where
F: Send,
impl<F> !Sync for StaticFuture<F>
impl<F> Unpin for StaticFuture<F>where
F: Unpin,
impl<F> UnwindSafe for StaticFuture<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