pub struct PendingDispatch<'a> { /* private fields */ }Expand description
A job on its way to a queue, with the dispatch options applied.
The builder Laravel spells SendWelcomeEmail::dispatch($user)->onQueue('mail')->delay(60).
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PendingDispatch<'a>
impl<'a> !UnwindSafe for PendingDispatch<'a>
impl<'a> Freeze for PendingDispatch<'a>
impl<'a> Send for PendingDispatch<'a>
impl<'a> Sync for PendingDispatch<'a>
impl<'a> Unpin for PendingDispatch<'a>
impl<'a> UnsafeUnpin for PendingDispatch<'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
Source§impl<T> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.