pub struct TaskFn(/* private fields */);Expand description
A wrapper type for task functions that implements Debug
This type wraps the actual task function to provide debug formatting while maintaining the function’s execution capabilities.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskFn
impl !RefUnwindSafe for TaskFn
impl Send for TaskFn
impl Sync for TaskFn
impl Unpin for TaskFn
impl !UnwindSafe for TaskFn
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