pub struct CronContext { /* private fields */ }Expand description
Execution context passed to every cron handler invocation.
Carries a snapshot of the service registry and the job metadata for the
current tick. This type is constructed by the scheduler and passed to
CronHandler::call — handlers do not create it directly. Use
FromCronContext to extract individual values from the context as
handler arguments.
Auto Trait Implementations§
impl Freeze for CronContext
impl !RefUnwindSafe for CronContext
impl Send for CronContext
impl Sync for CronContext
impl Unpin for CronContext
impl UnsafeUnpin for CronContext
impl !UnwindSafe for CronContext
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