rusteron_media_driver

Struct AeronReceiveChannelEndpoint

Source
pub struct AeronReceiveChannelEndpoint { /* private fields */ }

Implementations§

Source§

impl AeronReceiveChannelEndpoint

Source

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

creates zeroed struct where the underlying c struct is on the heap

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_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 matches_tag( &self, channel: &AeronUdpChannel, ) -> Result<bool, 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 u8)

🔬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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.