Skip to main content

zbq_join_payload

Struct zbq_join_payload 

Source
pub struct zbq_join_payload {
    pub ring_capacity: u64,
    pub join_baseline: u64,
    pub initial_head: u64,
    pub producer_pid: i32,
    pub slot_index: u32,
    pub wakeup_mode: u32,
    /* private fields */
}
Expand description

Payload sent from producer to consumer during the join handshake.

Fields§

§ring_capacity: u64

Size of the data ring.

§join_baseline: u64

Baseline timestamp used for progress measurements.

§initial_head: u64

Initial head offset (consumer starts reading from here).

§producer_pid: i32

PID of the producer process.

§slot_index: u32

Slot index assigned to this consumer.

§wakeup_mode: u32

Wakeup mode (ZBQ_WAKEUP_PUSH or ZBQ_WAKEUP_PULL).

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.