pub struct WaveWorkerContext {
pub wave_id: String,
pub wave_index: u32,
pub wave_total: u32,
pub result_topics: Vec<String>,
}Expand description
Context for a wave worker instance.
Fields§
§wave_id: StringWave correlation ID (e.g., “w-1a2b3c4d”).
wave_index: u320-based index of this worker within the wave.
wave_total: u32Total number of workers in this wave.
result_topics: Vec<String>Topics this worker should publish results to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaveWorkerContext
impl RefUnwindSafe for WaveWorkerContext
impl Send for WaveWorkerContext
impl Sync for WaveWorkerContext
impl Unpin for WaveWorkerContext
impl UnsafeUnpin for WaveWorkerContext
impl UnwindSafe for WaveWorkerContext
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