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