pub struct AeronReceiveChannelEndpoint { /* private fields */ }

Implementations§

source§

impl AeronReceiveChannelEndpoint

source

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

source

pub fn conductor_fields( &self, ) -> aeron_receive_channel_endpoint_stct_aeron_receive_channel_endpoint_conductor_fields_stct

source

pub fn destinations( &self, ) -> aeron_receive_channel_endpoint_stct_destination_stct

source

pub fn dispatcher(&self) -> AeronDataPacketDispatcher

source

pub fn stream_id_to_refcnt_map(&self) -> AeronInt64CounterMap

source

pub fn stream_and_session_id_to_refcnt_map(&self) -> AeronInt64CounterMap

source

pub fn response_stream_id_to_refcnt_map(&self) -> AeronInt64CounterMap

source

pub fn channel_status(&self) -> AeronAtomicCounter

source

pub fn receiver_proxy(&self) -> AeronDriverReceiverProxy

source

pub fn transport_bindings(&self) -> *mut aeron_udp_channel_transport_bindings_t

source

pub fn cached_clock(&self) -> AeronClockCache

source

pub fn send_nak_message(&self) -> aeron_driver_send_nak_message_func_t

source

pub fn receiver_id(&self) -> i64

source

pub fn has_receiver_released(&self) -> bool

source

pub fn group_tag(&self) -> aeron_receive_channel_endpoint_stct__bindgen_ty_1

source

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

source

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

source

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

source

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

source

pub fn send( &self, destination: &AeronReceiveDestination, address: &SockaddrStorage, iov: &Iovec, ) -> Result<i32, AeronCError>

source

pub fn elicit_setup( &self, stream_id: i32, session_id: i32, ) -> Result<i32, AeronCError>

source

pub fn send_sm( &self, destination: &AeronReceiveDestination, control_addr: &SockaddrStorage, stream_id: i32, session_id: i32, term_id: i32, term_offset: i32, receiver_window: i32, flags: u8, ) -> Result<i32, AeronCError>

source

pub fn send_nak( &self, destination: &AeronReceiveDestination, addr: &SockaddrStorage, stream_id: i32, session_id: i32, term_id: i32, term_offset: i32, length: i32, ) -> Result<i32, AeronCError>

source

pub fn send_rttm( &self, destination: &AeronReceiveDestination, addr: &SockaddrStorage, stream_id: i32, session_id: i32, echo_timestamp: i64, reception_delta: i64, is_reply: bool, ) -> Result<i32, AeronCError>

source

pub fn send_response_setup( &self, destination: &AeronReceiveDestination, addr: &SockaddrStorage, stream_id: i32, session_id: i32, response_session_id: i32, ) -> Result<i32, AeronCError>

source

pub fn aeron_receiver_channel_endpoint_send_error_frame( &self, destination: &AeronReceiveDestination, control_addr: &SockaddrStorage, session_id: i32, stream_id: i32, error_code: i32, invalidation_reason: &str, ) -> Result<i32, AeronCError>

source

pub fn on_data( &self, destination: &AeronReceiveDestination, buffer: &mut [u8], addr: &SockaddrStorage, media_receive_timestamp: &Timespec, ) -> Result<i32, AeronCError>

source

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

source

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

source

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

source

pub fn try_remove_endpoint(&self)

source

pub fn incref_to_stream(&self, stream_id: i32) -> Result<i32, AeronCError>

source

pub fn decref_to_stream(&self, stream_id: i32) -> Result<i32, AeronCError>

source

pub fn incref_to_stream_and_session( &self, stream_id: i32, session_id: i32, ) -> Result<i32, AeronCError>

source

pub fn decref_to_stream_and_session( &self, stream_id: i32, session_id: i32, ) -> Result<i32, AeronCError>

source

pub fn incref_to_response_stream( &self, stream_id: i32, ) -> Result<i32, AeronCError>

source

pub fn decref_to_response_stream( &self, stream_id: i32, ) -> Result<i32, AeronCError>

source

pub fn on_add_subscription(&self, stream_id: i32) -> Result<i32, AeronCError>

source

pub fn on_remove_subscription(&self, stream_id: i32) -> Result<i32, AeronCError>

source

pub fn on_add_subscription_by_session( &self, stream_id: i32, session_id: i32, ) -> Result<i32, AeronCError>

source

pub fn on_remove_subscription_by_session( &self, stream_id: i32, session_id: i32, ) -> Result<i32, AeronCError>

source

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

source

pub fn on_add_publication_image( &self, image: &AeronPublicationImage, ) -> Result<i32, AeronCError>

source

pub fn on_remove_publication_image( &self, image: &AeronPublicationImage, ) -> Result<i32, AeronCError>

source

pub fn aeron_receiver_channel_endpoint_validate_sender_mtu_length( &self, sender_mtu_length: usize, window_max_length: usize, ctx: &AeronDriverContext, ) -> Result<i32, AeronCError>

source

pub fn check_for_re_resolution( &self, now_ns: i64, conductor_proxy: &AeronDriverConductorProxy, )

source

pub fn update_control_address( &self, destination: &AeronReceiveDestination, address: &SockaddrStorage, )

source

pub fn add_poll_transports( &self, poller: *mut aeron_udp_transport_poller_t, ) -> Result<i32, AeronCError>

source

pub fn remove_poll_transports( &self, poller: *mut aeron_udp_transport_poller_t, ) -> Result<i32, AeronCError>

source

pub fn add_pending_setup( &self, receiver: &AeronDriverReceiver, session_id: i32, stream_id: i32, ) -> Result<i32, AeronCError>

source

pub fn add_pending_setup_destination( &self, receiver: &AeronDriverReceiver, destination: &AeronReceiveDestination, session_id: i32, stream_id: i32, ) -> Result<i32, AeronCError>

source

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

Trait Implementations§

source§

impl Clone for AeronReceiveChannelEndpoint

source§

fn clone(&self) -> AeronReceiveChannelEndpoint

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 AeronReceiveChannelEndpoint

source§

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

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

impl Deref for AeronReceiveChannelEndpoint

source§

type Target = aeron_receive_channel_endpoint_stct

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<&AeronReceiveChannelEndpoint> for *mut aeron_receive_channel_endpoint_t

source§

fn from(value: &AeronReceiveChannelEndpoint) -> Self

Converts to this type from the input type.
source§

impl From<*const aeron_receive_channel_endpoint_stct> for AeronReceiveChannelEndpoint

source§

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

Converts to this type from the input type.
source§

impl From<*mut aeron_receive_channel_endpoint_stct> for AeronReceiveChannelEndpoint

source§

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

Converts to this type from the input type.
source§

impl From<AeronReceiveChannelEndpoint> for *mut aeron_receive_channel_endpoint_t

source§

fn from(value: AeronReceiveChannelEndpoint) -> Self

Converts to this type from the input type.
source§

impl From<AeronReceiveChannelEndpoint> for aeron_receive_channel_endpoint_t

source§

fn from(value: AeronReceiveChannelEndpoint) -> Self

Converts to this type from the input type.
source§

impl From<aeron_receive_channel_endpoint_stct> for AeronReceiveChannelEndpoint

source§

fn from(value: aeron_receive_channel_endpoint_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.