Struct rusteron_media_driver::AeronPublicationImage

source ·
pub struct AeronPublicationImage { /* private fields */ }

Implementations§

source§

impl AeronPublicationImage

source

pub fn new_zeroed() -> Result<Self, AeronCError>

source

pub fn padding_before(&self) -> [u8; 64]

source

pub fn conductor_fields( &self, ) -> aeron_publication_image_stct_aeron_publication_image_conductor_fields_stct

source

pub fn padding_after(&self) -> [u8; 64]

source

pub fn connections( &self, ) -> aeron_publication_image_stct_image_connection_entries

source

pub fn source_address(&self) -> SockaddrStorage

source

pub fn source_identity_length(&self) -> usize

source

pub fn source_identity(&self) -> [c_char; 54]

source

pub fn loss_detector(&self) -> AeronLossDetector

source

pub fn feedback_delay_state(&self) -> AeronFeedbackDelayGeneratorState

source

pub fn mapped_raw_log(&self) -> AeronMappedRawLog

source

pub fn rcv_hwm_position(&self) -> AeronPosition

source

pub fn rcv_pos_position(&self) -> AeronPosition

source

pub fn log_meta_data(&self) -> AeronLogbufferMetadata

source

pub fn endpoint(&self) -> AeronReceiveChannelEndpoint

source

pub fn congestion_control(&self) -> AeronCongestionControlStrategy

source

pub fn nano_clock(&self) -> aeron_clock_func_t

source

pub fn epoch_clock(&self) -> aeron_clock_func_t

source

pub fn cached_clock(&self) -> AeronClockCache

source

pub fn loss_reporter(&self) -> AeronLossReporter

source

pub fn loss_reporter_offset(&self) -> aeron_loss_reporter_entry_offset_t

source

pub fn log_file_name(&self) -> *mut c_char

source

pub fn session_id(&self) -> i32

source

pub fn stream_id(&self) -> i32

source

pub fn initial_term_id(&self) -> i32

source

pub fn active_term_id(&self) -> i32

source

pub fn term_length(&self) -> i32

source

pub fn mtu_length(&self) -> i32

source

pub fn term_length_mask(&self) -> i32

source

pub fn log_file_name_length(&self) -> usize

source

pub fn position_bits_to_shift(&self) -> usize

source

pub fn raw_log_close_func(&self) -> aeron_raw_log_close_func_t

source

pub fn raw_log_free_func(&self) -> aeron_raw_log_free_func_t

source

pub fn log(&self) -> aeron_publication_image_stct__bindgen_ty_1

source

pub fn last_loss_change_number(&self) -> i64

source

pub fn begin_loss_change(&self) -> i64

source

pub fn end_loss_change(&self) -> i64

source

pub fn loss_term_id(&self) -> i32

source

pub fn loss_term_offset(&self) -> i32

source

pub fn loss_length(&self) -> usize

source

pub fn begin_sm_change(&self) -> i64

source

pub fn end_sm_change(&self) -> i64

source

pub fn last_overrun_threshold(&self) -> i64

source

pub fn next_sm_position(&self) -> i64

source

pub fn next_sm_receiver_window_length(&self) -> i32

source

pub fn max_receiver_window_length(&self) -> i32

source

pub fn last_sm_change_number(&self) -> i64

source

pub fn last_sm_position(&self) -> i64

source

pub fn next_sm_deadline_ns(&self) -> i64

source

pub fn sm_timeout_ns(&self) -> i64

source

pub fn time_of_last_packet_ns(&self) -> i64

source

pub fn invalidation_reason(&self) -> &str

source

pub fn response_session_id(&self) -> i64

source

pub fn is_end_of_stream(&self) -> bool

source

pub fn is_sending_eos_sm(&self) -> bool

source

pub fn has_receiver_released(&self) -> bool

source

pub fn heartbeats_received_counter(&self) -> &mut i64

source

pub fn flow_control_under_runs_counter(&self) -> &mut i64

source

pub fn flow_control_over_runs_counter(&self) -> &mut i64

source

pub fn status_messages_sent_counter(&self) -> &mut i64

source

pub fn nak_messages_sent_counter(&self) -> &mut i64

source

pub fn loss_gap_fills_counter(&self) -> &mut i64

source

pub fn mapped_bytes_counter(&self) -> &mut i64

source

pub fn location( dst: *mut c_char, length: usize, aeron_dir: &str, correlation_id: i64, ) -> Result<i32, AeronCError>

source

pub fn free(&self) -> bool

source

pub fn clean_buffer_to(&self, position: i64)

source

pub fn on_gap_detected( clientd: *mut c_void, term_id: i32, term_offset: i32, length: usize, )

source

pub fn track_rebuild(&self, now_ns: i64)

source

pub fn insert_packet( &self, destination: &AeronReceiveDestination, term_id: i32, term_offset: i32, buffer: &[u8], addr: &SockaddrStorage, ) -> Result<i32, AeronCError>

source

pub fn on_rttm( &self, header: &AeronRttmHeader, addr: &SockaddrStorage, ) -> Result<i32, AeronCError>

source

pub fn send_pending_status_message( &self, now_ns: i64, ) -> Result<i32, AeronCError>

source

pub fn send_pending_loss(&self) -> Result<i32, AeronCError>

source

pub fn initiate_rttm(&self, now_ns: i64) -> Result<i32, AeronCError>

source

pub fn add_destination( &self, destination: &AeronReceiveDestination, ) -> Result<i32, AeronCError>

source

pub fn remove_destination( &self, channel: &AeronUdpChannel, ) -> Result<i32, AeronCError>

source

pub fn add_connection_if_unknown( &self, destination: &AeronReceiveDestination, src_addr: &SockaddrStorage, )

source

pub fn receiver_release(&self)

source

pub fn invalidate(&self, reason_length: i32, reason: &str)

source

pub fn remove_response_session_id(&self)

source

pub fn stop_status_messages_if_not_active(&self)

source

pub fn get_inner(&self) -> *mut aeron_publication_image_t

Trait Implementations§

source§

impl Clone for AeronPublicationImage

source§

fn clone(&self) -> AeronPublicationImage

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AeronPublicationImage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for AeronPublicationImage

source§

type Target = aeron_publication_image_stct

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<&AeronPublicationImage> for *mut aeron_publication_image_t

source§

fn from(value: &AeronPublicationImage) -> Self

Converts to this type from the input type.
source§

impl From<*const aeron_publication_image_stct> for AeronPublicationImage

source§

fn from(value: *const aeron_publication_image_t) -> Self

Converts to this type from the input type.
source§

impl From<*mut aeron_publication_image_stct> for AeronPublicationImage

source§

fn from(value: *mut aeron_publication_image_t) -> Self

Converts to this type from the input type.
source§

impl From<AeronPublicationImage> for *mut aeron_publication_image_t

source§

fn from(value: AeronPublicationImage) -> Self

Converts to this type from the input type.
source§

impl From<AeronPublicationImage> for aeron_publication_image_t

source§

fn from(value: AeronPublicationImage) -> Self

Converts to this type from the input type.
source§

impl From<aeron_publication_image_stct> for AeronPublicationImage

source§

fn from(value: aeron_publication_image_t) -> Self

Converts to this type from the input type.

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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.