pub struct Entry<F>(pub F);Expand description
An entry closure moved only across the worker creation and join boundary.
Tuple Fields§
§0: FTrait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Entry<F>where
F: Freeze,
impl<F> RefUnwindSafe for Entry<F>where
F: RefUnwindSafe,
impl<F> Send for Entry<F>where
F: Send,
impl<F> Sync for Entry<F>where
F: Sync,
impl<F> Unpin for Entry<F>where
F: Unpin,
impl<F> UnsafeUnpin for Entry<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Entry<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