Type Alias rusteron_client::bindings::aeron_image_constants_t

source ·
pub type aeron_image_constants_t = aeron_image_constants_stct;
Expand description

Configuration for an image that does not change during it’s lifetime.

Aliased Type§

struct aeron_image_constants_t {
    pub subscription: *mut aeron_subscription_stct,
    pub source_identity: *const i8,
    pub correlation_id: i64,
    pub join_position: i64,
    pub position_bits_to_shift: usize,
    pub term_buffer_length: usize,
    pub mtu_length: usize,
    pub session_id: i32,
    pub initial_term_id: i32,
    pub subscriber_position_id: i32,
}

Fields§

§subscription: *mut aeron_subscription_stct

The subscription to which this image belongs.

§source_identity: *const i8

The source identity of the sending publisher as an abstract concept appropriate for the media.

§correlation_id: i64

The correlationId for identification of the image with the media driver.

§join_position: i64

Get the position the subscriber joined this stream at.

§position_bits_to_shift: usize

Number of bits to right shift a position to get a term count for how far the stream has progressed.

§term_buffer_length: usize

Get the length in bytes for each term partition in the log buffer.

§mtu_length: usize

The length in bytes of the MTU (Maximum Transmission Unit) the Sender used for the datagram.

§session_id: i32

The sessionId for the steam of messages. Sessions are unique within a subscription and unique across all publications from a source identity.

§initial_term_id: i32

The initial term at which the stream started for this session.

§subscriber_position_id: i32

Counter id that refers to the subscriber position for this image.

Trait Implementations§

source§

impl From<AeronImageConstants> for aeron_image_constants_t

source§

fn from(value: AeronImageConstants) -> Self

Converts to this type from the input type.