Struct ScheduledTaskEvent
pub struct ScheduledTaskEvent<'a> {
pub id: TaskId,
pub owner: &'a str,
pub token: u64,
}Expand description
What Hooks::scheduled_task is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§id: TaskId§owner: &'a str§token: u64Auto Trait Implementations§
impl<'a> Freeze for ScheduledTaskEvent<'a>
impl<'a> RefUnwindSafe for ScheduledTaskEvent<'a>
impl<'a> Send for ScheduledTaskEvent<'a>
impl<'a> Sync for ScheduledTaskEvent<'a>
impl<'a> Unpin for ScheduledTaskEvent<'a>
impl<'a> UnsafeUnpin for ScheduledTaskEvent<'a>
impl<'a> UnwindSafe for ScheduledTaskEvent<'a>
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