pub struct AeronDriverSenderProxy { /* private fields */ }
Implementations§
Source§impl AeronDriverSenderProxy
impl AeronDriverSenderProxy
pub fn new( sender: &AeronDriverSender, threading_mode: aeron_threading_mode_t, log: aeron_driver_sender_proxy_stct__bindgen_ty_1, command_queue: &AeronMpscRb, fail_counter: &mut i64, ) -> Result<Self, AeronCError>
Sourcepub fn new_zeroed_on_heap() -> Self
pub fn new_zeroed_on_heap() -> Self
creates zeroed struct where the underlying c struct is on the heap
Sourcepub fn new_zeroed_on_stack() -> Self
pub fn new_zeroed_on_stack() -> Self
creates zeroed struct where the underlying c struct is on the stack (Use with care)
pub fn sender(&self) -> AeronDriverSender
pub fn threading_mode(&self) -> aeron_threading_mode_t
pub fn log(&self) -> aeron_driver_sender_proxy_stct__bindgen_ty_1
pub fn command_queue(&self) -> AeronMpscRb
pub fn fail_counter(&self) -> &mut i64
pub fn on_add_endpoint(&self, endpoint: &AeronSendChannelEndpoint)
pub fn on_remove_endpoint(&self, endpoint: &AeronSendChannelEndpoint)
pub fn on_add_publication(&self, publication: &AeronNetworkPublication)
pub fn on_remove_publication(&self, publication: &AeronNetworkPublication)
pub fn on_resolution_change( &self, endpoint_name: &CStr, endpoint: &AeronSendChannelEndpoint, new_addr: &SockaddrStorage, )
pub fn on_add_destination( &self, endpoint: &AeronSendChannelEndpoint, uri: &AeronUri, addr: &SockaddrStorage, destination_registration_id: i64, )
pub fn on_remove_destination( &self, endpoint: &AeronSendChannelEndpoint, addr: &SockaddrStorage, )
pub fn on_remove_destination_by_id( &self, endpoint: &AeronSendChannelEndpoint, destination_registration_id: i64, )
pub fn get_inner(&self) -> *mut aeron_driver_sender_proxy_t
pub fn get_inner_mut(&self) -> &mut aeron_driver_sender_proxy_t
pub fn get_inner_ref(&self) -> &aeron_driver_sender_proxy_t
Source§impl AeronDriverSenderProxy
impl AeronDriverSenderProxy
Sourcepub fn clone_struct(&self) -> Self
pub fn clone_struct(&self) -> Self
Regular clone just increases the reference count of underlying count.
clone_struct
shallow copies the content of the underlying struct on heap.
NOTE: if the struct has references to other structs these will not be copied
Must be only used on structs which has no init/clean up methods. So its danagerous to use with Aeron/AeronContext/AeronPublication/AeronSubscription More intended for AeronArchiveRecordingDescriptor
Trait Implementations§
Source§impl Clone for AeronDriverSenderProxy
impl Clone for AeronDriverSenderProxy
Source§fn clone(&self) -> AeronDriverSenderProxy
fn clone(&self) -> AeronDriverSenderProxy
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 AeronDriverSenderProxy
impl Debug for AeronDriverSenderProxy
Source§impl Default for AeronDriverSenderProxy
This will create an instance where the struct is zeroed, use with care
impl Default for AeronDriverSenderProxy
This will create an instance where the struct is zeroed, use with care
Source§impl Deref for AeronDriverSenderProxy
impl Deref for AeronDriverSenderProxy
Source§impl From<&AeronDriverSenderProxy> for *mut aeron_driver_sender_proxy_t
impl From<&AeronDriverSenderProxy> for *mut aeron_driver_sender_proxy_t
Source§fn from(value: &AeronDriverSenderProxy) -> Self
fn from(value: &AeronDriverSenderProxy) -> Self
Converts to this type from the input type.
Source§impl From<*const aeron_driver_sender_proxy_stct> for AeronDriverSenderProxy
impl From<*const aeron_driver_sender_proxy_stct> for AeronDriverSenderProxy
Source§fn from(value: *const aeron_driver_sender_proxy_t) -> Self
fn from(value: *const aeron_driver_sender_proxy_t) -> Self
Converts to this type from the input type.
Source§impl From<*mut aeron_driver_sender_proxy_stct> for AeronDriverSenderProxy
impl From<*mut aeron_driver_sender_proxy_stct> for AeronDriverSenderProxy
Source§fn from(value: *mut aeron_driver_sender_proxy_t) -> Self
fn from(value: *mut aeron_driver_sender_proxy_t) -> Self
Converts to this type from the input type.
Source§impl From<AeronDriverSenderProxy> for *mut aeron_driver_sender_proxy_t
impl From<AeronDriverSenderProxy> for *mut aeron_driver_sender_proxy_t
Source§fn from(value: AeronDriverSenderProxy) -> Self
fn from(value: AeronDriverSenderProxy) -> Self
Converts to this type from the input type.
Source§impl From<AeronDriverSenderProxy> for aeron_driver_sender_proxy_t
impl From<AeronDriverSenderProxy> for aeron_driver_sender_proxy_t
Source§fn from(value: AeronDriverSenderProxy) -> Self
fn from(value: AeronDriverSenderProxy) -> Self
Converts to this type from the input type.
Source§impl From<aeron_driver_sender_proxy_stct> for AeronDriverSenderProxy
impl From<aeron_driver_sender_proxy_stct> for AeronDriverSenderProxy
Source§fn from(value: aeron_driver_sender_proxy_t) -> Self
fn from(value: aeron_driver_sender_proxy_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronDriverSenderProxy
impl !RefUnwindSafe for AeronDriverSenderProxy
impl !Send for AeronDriverSenderProxy
impl !Sync for AeronDriverSenderProxy
impl Unpin for AeronDriverSenderProxy
impl !UnwindSafe for AeronDriverSenderProxy
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