#[repr(C)]pub struct aeron_image_constants_stct {
pub subscription: *mut aeron_subscription_t,
pub source_identity: *const c_char,
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,
}Expand description
Configuration for an image that does not change during it’s lifetime.
Fields§
§subscription: *mut aeron_subscription_tThe subscription to which this image belongs.
source_identity: *const c_charThe source identity of the sending publisher as an abstract concept appropriate for the media.
correlation_id: i64The correlationId for identification of the image with the media driver.
join_position: i64Get the position the subscriber joined this stream at.
position_bits_to_shift: usizeNumber of bits to right shift a position to get a term count for how far the stream has progressed.
term_buffer_length: usizeGet the length in bytes for each term partition in the log buffer.
mtu_length: usizeThe length in bytes of the MTU (Maximum Transmission Unit) the Sender used for the datagram.
session_id: i32The sessionId for the steam of messages. Sessions are unique within a subscription and unique across all publications from a source identity.
initial_term_id: i32The initial term at which the stream started for this session.
subscriber_position_id: i32Counter id that refers to the subscriber position for this image.
Trait Implementations§
Source§impl Clone for aeron_image_constants_stct
impl Clone for aeron_image_constants_stct
Source§fn clone(&self) -> aeron_image_constants_stct
fn clone(&self) -> aeron_image_constants_stct
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more