#[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_t
The subscription to which this image belongs.
source_identity: *const c_char
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 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 moresource§impl Debug for aeron_image_constants_stct
impl Debug for aeron_image_constants_stct
source§impl From<aeron_image_constants_stct> for AeronImageConstants
impl From<aeron_image_constants_stct> for AeronImageConstants
source§fn from(value: aeron_image_constants_t) -> Self
fn from(value: aeron_image_constants_t) -> Self
impl Copy for aeron_image_constants_stct
Auto Trait Implementations§
impl Freeze for aeron_image_constants_stct
impl RefUnwindSafe for aeron_image_constants_stct
impl !Send for aeron_image_constants_stct
impl !Sync for aeron_image_constants_stct
impl Unpin for aeron_image_constants_stct
impl UnwindSafe for aeron_image_constants_stct
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)