pub struct ProcessorMeta {
pub name: &'static str,
pub queue: &'static str,
pub concurrency: usize,
pub retries: usize,
pub handler: JobHandler,
}Expand description
Runtime metadata for one consumer, surfaced via DiscoveryService for the
classic struct-level #[processor] form. New code uses ProcessMethod
directly; this type remains for backends that consume ProcessorMeta via
DiscoveryService::meta::<ProcessorMeta>().
Fields§
§name: &'static str§queue: &'static str§concurrency: usize§retries: usize§handler: JobHandlerThe type-erased handler the backend dispatches each job through.
Auto Trait Implementations§
impl Freeze for ProcessorMeta
impl RefUnwindSafe for ProcessorMeta
impl Send for ProcessorMeta
impl Sync for ProcessorMeta
impl Unpin for ProcessorMeta
impl UnsafeUnpin for ProcessorMeta
impl UnwindSafe for ProcessorMeta
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