pub struct TaskRegistration {
pub name: &'static str,
pub handler: TaskHandlerT,
}Fields§
§name: &'static str§handler: TaskHandlerTTrait Implementations§
impl Collect for TaskRegistration
Auto Trait Implementations§
impl Freeze for TaskRegistration
impl RefUnwindSafe for TaskRegistration
impl Send for TaskRegistration
impl Sync for TaskRegistration
impl Unpin for TaskRegistration
impl UnwindSafe for TaskRegistration
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