pub struct AeronUdpChannelOutgoingInterceptor { /* private fields */ }
Implementations§
source§impl AeronUdpChannelOutgoingInterceptor
impl AeronUdpChannelOutgoingInterceptor
pub fn new( interceptor_state: *mut c_void, outgoing_send_func: aeron_udp_channel_interceptor_outgoing_send_func_t, close_func: aeron_udp_channel_interceptor_close_func_t, outgoing_transport_notification_func: aeron_udp_channel_interceptor_transport_notification_func_t, outgoing_publication_notification_func: aeron_udp_channel_interceptor_publication_notification_func_t, outgoing_image_notification_func: aeron_udp_channel_interceptor_image_notification_func_t, next_interceptor: &AeronUdpChannelOutgoingInterceptor, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn interceptor_state(&self) -> *mut c_void
pub fn outgoing_send_func( &self, ) -> aeron_udp_channel_interceptor_outgoing_send_func_t
pub fn close_func(&self) -> aeron_udp_channel_interceptor_close_func_t
pub fn outgoing_transport_notification_func( &self, ) -> aeron_udp_channel_interceptor_transport_notification_func_t
pub fn outgoing_publication_notification_func( &self, ) -> aeron_udp_channel_interceptor_publication_notification_func_t
pub fn outgoing_image_notification_func( &self, ) -> aeron_udp_channel_interceptor_image_notification_func_t
pub fn next_interceptor(&self) -> AeronUdpChannelOutgoingInterceptor
pub fn get_inner(&self) -> *mut aeron_udp_channel_outgoing_interceptor_t
Trait Implementations§
source§impl Clone for AeronUdpChannelOutgoingInterceptor
impl Clone for AeronUdpChannelOutgoingInterceptor
source§fn clone(&self) -> AeronUdpChannelOutgoingInterceptor
fn clone(&self) -> AeronUdpChannelOutgoingInterceptor
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 Default for AeronUdpChannelOutgoingInterceptor
impl Default for AeronUdpChannelOutgoingInterceptor
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronUdpChannelOutgoingInterceptor> for *mut aeron_udp_channel_outgoing_interceptor_t
impl From<&AeronUdpChannelOutgoingInterceptor> for *mut aeron_udp_channel_outgoing_interceptor_t
source§fn from(value: &AeronUdpChannelOutgoingInterceptor) -> Self
fn from(value: &AeronUdpChannelOutgoingInterceptor) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_udp_channel_outgoing_interceptor_stct> for AeronUdpChannelOutgoingInterceptor
impl From<*const aeron_udp_channel_outgoing_interceptor_stct> for AeronUdpChannelOutgoingInterceptor
source§fn from(value: *const aeron_udp_channel_outgoing_interceptor_t) -> Self
fn from(value: *const aeron_udp_channel_outgoing_interceptor_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_udp_channel_outgoing_interceptor_stct> for AeronUdpChannelOutgoingInterceptor
impl From<*mut aeron_udp_channel_outgoing_interceptor_stct> for AeronUdpChannelOutgoingInterceptor
source§fn from(value: *mut aeron_udp_channel_outgoing_interceptor_t) -> Self
fn from(value: *mut aeron_udp_channel_outgoing_interceptor_t) -> Self
Converts to this type from the input type.
source§impl From<AeronUdpChannelOutgoingInterceptor> for *mut aeron_udp_channel_outgoing_interceptor_t
impl From<AeronUdpChannelOutgoingInterceptor> for *mut aeron_udp_channel_outgoing_interceptor_t
source§fn from(value: AeronUdpChannelOutgoingInterceptor) -> Self
fn from(value: AeronUdpChannelOutgoingInterceptor) -> Self
Converts to this type from the input type.
source§impl From<AeronUdpChannelOutgoingInterceptor> for aeron_udp_channel_outgoing_interceptor_t
impl From<AeronUdpChannelOutgoingInterceptor> for aeron_udp_channel_outgoing_interceptor_t
source§fn from(value: AeronUdpChannelOutgoingInterceptor) -> Self
fn from(value: AeronUdpChannelOutgoingInterceptor) -> Self
Converts to this type from the input type.
source§impl From<aeron_udp_channel_outgoing_interceptor_stct> for AeronUdpChannelOutgoingInterceptor
impl From<aeron_udp_channel_outgoing_interceptor_stct> for AeronUdpChannelOutgoingInterceptor
source§fn from(value: aeron_udp_channel_outgoing_interceptor_t) -> Self
fn from(value: aeron_udp_channel_outgoing_interceptor_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronUdpChannelOutgoingInterceptor
impl !RefUnwindSafe for AeronUdpChannelOutgoingInterceptor
impl !Send for AeronUdpChannelOutgoingInterceptor
impl !Sync for AeronUdpChannelOutgoingInterceptor
impl Unpin for AeronUdpChannelOutgoingInterceptor
impl !UnwindSafe for AeronUdpChannelOutgoingInterceptor
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
)