pub struct AeronUdpDestinationTracker { /* private fields */ }
Implementations§
source§impl AeronUdpDestinationTracker
impl AeronUdpDestinationTracker
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn padding_before(&self) -> [u8; 64]
pub fn destinations( &self, ) -> aeron_udp_destination_tracker_stct_aeron_udp_destination_tracker_destinations_stct
pub fn is_manual_control_mode(&self) -> bool
pub fn cached_clock(&self) -> AeronClockCache
pub fn destination_timeout_ns(&self) -> i64
pub fn data_paths(&self) -> AeronUdpChannelDataPaths
pub fn num_destinations_addr(&self) -> &mut i64
pub fn round_robin_index(&self) -> c_int
pub fn padding_after(&self) -> [u8; 64]
pub fn init( &self, data_paths: &AeronUdpChannelDataPaths, cached_clock: &AeronClockCache, is_manual_control_model: bool, timeout_ns: i64, ) -> Result<i32, AeronCError>
pub fn close(&self) -> Result<i32, AeronCError>
pub fn send( &self, transport: *mut aeron_udp_channel_transport_t, iov: &Iovec, iov_length: usize, ) -> Result<i64, AeronCError>
pub fn on_status_message( &self, buffer: &[u8], addr: &SockaddrStorage, ) -> Result<i32, AeronCError>
pub fn manual_add_destination( &self, now_ns: i64, uri: &AeronUri, addr: &SockaddrStorage, destination_registration_id: i64, ) -> Result<i32, AeronCError>
pub fn find_registration_id(&self, buffer: &[u8], addr: &SockaddrStorage) -> i64
pub fn check_for_re_resolution( &self, endpoint: &AeronSendChannelEndpoint, now_ns: i64, conductor_proxy: &AeronDriverConductorProxy, )
pub fn resolution_change(&self, endpoint_name: &str, addr: &SockaddrStorage)
pub fn get_inner(&self) -> *mut aeron_udp_destination_tracker_t
Trait Implementations§
source§impl Clone for AeronUdpDestinationTracker
impl Clone for AeronUdpDestinationTracker
source§fn clone(&self) -> AeronUdpDestinationTracker
fn clone(&self) -> AeronUdpDestinationTracker
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AeronUdpDestinationTracker
impl Debug for AeronUdpDestinationTracker
source§impl Deref for AeronUdpDestinationTracker
impl Deref for AeronUdpDestinationTracker
source§impl From<&AeronUdpDestinationTracker> for *mut aeron_udp_destination_tracker_t
impl From<&AeronUdpDestinationTracker> for *mut aeron_udp_destination_tracker_t
source§fn from(value: &AeronUdpDestinationTracker) -> Self
fn from(value: &AeronUdpDestinationTracker) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_udp_destination_tracker_stct> for AeronUdpDestinationTracker
impl From<*const aeron_udp_destination_tracker_stct> for AeronUdpDestinationTracker
source§fn from(value: *const aeron_udp_destination_tracker_t) -> Self
fn from(value: *const aeron_udp_destination_tracker_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_udp_destination_tracker_stct> for AeronUdpDestinationTracker
impl From<*mut aeron_udp_destination_tracker_stct> for AeronUdpDestinationTracker
source§fn from(value: *mut aeron_udp_destination_tracker_t) -> Self
fn from(value: *mut aeron_udp_destination_tracker_t) -> Self
Converts to this type from the input type.
source§impl From<AeronUdpDestinationTracker> for *mut aeron_udp_destination_tracker_t
impl From<AeronUdpDestinationTracker> for *mut aeron_udp_destination_tracker_t
source§fn from(value: AeronUdpDestinationTracker) -> Self
fn from(value: AeronUdpDestinationTracker) -> Self
Converts to this type from the input type.
source§impl From<AeronUdpDestinationTracker> for aeron_udp_destination_tracker_t
impl From<AeronUdpDestinationTracker> for aeron_udp_destination_tracker_t
source§fn from(value: AeronUdpDestinationTracker) -> Self
fn from(value: AeronUdpDestinationTracker) -> Self
Converts to this type from the input type.
source§impl From<aeron_udp_destination_tracker_stct> for AeronUdpDestinationTracker
impl From<aeron_udp_destination_tracker_stct> for AeronUdpDestinationTracker
source§fn from(value: aeron_udp_destination_tracker_t) -> Self
fn from(value: aeron_udp_destination_tracker_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronUdpDestinationTracker
impl !RefUnwindSafe for AeronUdpDestinationTracker
impl !Send for AeronUdpDestinationTracker
impl !Sync for AeronUdpDestinationTracker
impl Unpin for AeronUdpDestinationTracker
impl !UnwindSafe for AeronUdpDestinationTracker
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)