#[repr(C, align(128))]pub struct TaskSlot<F: SafeFuture> {
pub header: TaskHeader,
pub future: StaticFuture<StaticCell<F>>,
}Available on crate feature
static only.Fields§
§header: TaskHeader§future: StaticFuture<StaticCell<F>>Implementations§
Trait Implementations§
Source§impl<F: SafeFuture> Debug for TaskSlot<F>
impl<F: SafeFuture> Debug for TaskSlot<F>
impl<F: SafeFuture> Send for TaskSlot<F>
impl<F: SafeFuture> Sync for TaskSlot<F>
Auto Trait Implementations§
impl<F> !Freeze for TaskSlot<F>
impl<F> !RefUnwindSafe for TaskSlot<F>
impl<F> Unpin for TaskSlot<F>where
F: Unpin,
impl<F> UnwindSafe for TaskSlot<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