pub struct AeronDataPacketDispatcherStreamInterest { /* private fields */ }
Implementations§
source§impl AeronDataPacketDispatcherStreamInterest
impl AeronDataPacketDispatcherStreamInterest
pub fn new( is_all_sessions: bool, subscribed_sessions: AeronInt64ToPtrHashMap, image_by_session_id_map: AeronInt64ToPtrHashMap, state_by_session_id_map: AeronInt64CounterMap, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn is_all_sessions(&self) -> bool
pub fn subscribed_sessions(&self) -> AeronInt64ToPtrHashMap
pub fn image_by_session_id_map(&self) -> AeronInt64ToPtrHashMap
pub fn state_by_session_id_map(&self) -> AeronInt64CounterMap
pub fn get_inner(&self) -> *mut aeron_data_packet_dispatcher_stream_interest_t
Trait Implementations§
source§impl Clone for AeronDataPacketDispatcherStreamInterest
impl Clone for AeronDataPacketDispatcherStreamInterest
source§fn clone(&self) -> AeronDataPacketDispatcherStreamInterest
fn clone(&self) -> AeronDataPacketDispatcherStreamInterest
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 AeronDataPacketDispatcherStreamInterest
impl Default for AeronDataPacketDispatcherStreamInterest
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronDataPacketDispatcherStreamInterest> for *mut aeron_data_packet_dispatcher_stream_interest_t
impl From<&AeronDataPacketDispatcherStreamInterest> for *mut aeron_data_packet_dispatcher_stream_interest_t
source§fn from(value: &AeronDataPacketDispatcherStreamInterest) -> Self
fn from(value: &AeronDataPacketDispatcherStreamInterest) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_data_packet_dispatcher_stream_interest_stct> for AeronDataPacketDispatcherStreamInterest
impl From<*const aeron_data_packet_dispatcher_stream_interest_stct> for AeronDataPacketDispatcherStreamInterest
source§fn from(value: *const aeron_data_packet_dispatcher_stream_interest_t) -> Self
fn from(value: *const aeron_data_packet_dispatcher_stream_interest_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_data_packet_dispatcher_stream_interest_stct> for AeronDataPacketDispatcherStreamInterest
impl From<*mut aeron_data_packet_dispatcher_stream_interest_stct> for AeronDataPacketDispatcherStreamInterest
source§fn from(value: *mut aeron_data_packet_dispatcher_stream_interest_t) -> Self
fn from(value: *mut aeron_data_packet_dispatcher_stream_interest_t) -> Self
Converts to this type from the input type.
source§impl From<AeronDataPacketDispatcherStreamInterest> for *mut aeron_data_packet_dispatcher_stream_interest_t
impl From<AeronDataPacketDispatcherStreamInterest> for *mut aeron_data_packet_dispatcher_stream_interest_t
source§fn from(value: AeronDataPacketDispatcherStreamInterest) -> Self
fn from(value: AeronDataPacketDispatcherStreamInterest) -> Self
Converts to this type from the input type.
source§impl From<AeronDataPacketDispatcherStreamInterest> for aeron_data_packet_dispatcher_stream_interest_t
impl From<AeronDataPacketDispatcherStreamInterest> for aeron_data_packet_dispatcher_stream_interest_t
source§fn from(value: AeronDataPacketDispatcherStreamInterest) -> Self
fn from(value: AeronDataPacketDispatcherStreamInterest) -> Self
Converts to this type from the input type.
source§impl From<aeron_data_packet_dispatcher_stream_interest_stct> for AeronDataPacketDispatcherStreamInterest
impl From<aeron_data_packet_dispatcher_stream_interest_stct> for AeronDataPacketDispatcherStreamInterest
source§fn from(value: aeron_data_packet_dispatcher_stream_interest_t) -> Self
fn from(value: aeron_data_packet_dispatcher_stream_interest_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronDataPacketDispatcherStreamInterest
impl !RefUnwindSafe for AeronDataPacketDispatcherStreamInterest
impl !Send for AeronDataPacketDispatcherStreamInterest
impl !Sync for AeronDataPacketDispatcherStreamInterest
impl Unpin for AeronDataPacketDispatcherStreamInterest
impl !UnwindSafe for AeronDataPacketDispatcherStreamInterest
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
)