pub struct AeronSubscriptionLink { /* private fields */ }
Implementations§
source§impl AeronSubscriptionLink
impl AeronSubscriptionLink
pub fn new( channel: [c_char; 384], is_tether: bool, is_sparse: bool, is_reliable: bool, is_rejoin: bool, has_session_id: bool, is_response: bool, group: aeron_inferable_boolean_t, stream_id: i32, session_id: i32, channel_length: i32, registration_id: i64, client_id: i64, endpoint: &AeronReceiveChannelEndpoint, spy_channel: &AeronUdpChannel, subscribable_list: aeron_subscription_link_stct_subscribable_list_stct, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn channel(&self) -> [c_char; 384]
pub fn is_tether(&self) -> bool
pub fn is_sparse(&self) -> bool
pub fn is_reliable(&self) -> bool
pub fn is_rejoin(&self) -> bool
pub fn has_session_id(&self) -> bool
pub fn is_response(&self) -> bool
pub fn group(&self) -> aeron_inferable_boolean_t
pub fn stream_id(&self) -> i32
pub fn session_id(&self) -> i32
pub fn channel_length(&self) -> i32
pub fn registration_id(&self) -> i64
pub fn client_id(&self) -> i64
pub fn endpoint(&self) -> AeronReceiveChannelEndpoint
pub fn spy_channel(&self) -> AeronUdpChannel
pub fn subscribable_list( &self, ) -> aeron_subscription_link_stct_subscribable_list_stct
pub fn aeron_driver_conductor_unlink_subscribable( &self, subscribable: &AeronSubscribable, )
pub fn get_inner(&self) -> *mut aeron_subscription_link_t
Trait Implementations§
source§impl Clone for AeronSubscriptionLink
impl Clone for AeronSubscriptionLink
source§fn clone(&self) -> AeronSubscriptionLink
fn clone(&self) -> AeronSubscriptionLink
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 AeronSubscriptionLink
impl Debug for AeronSubscriptionLink
source§impl Default for AeronSubscriptionLink
impl Default for AeronSubscriptionLink
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronSubscriptionLink
impl Deref for AeronSubscriptionLink
source§impl From<&AeronSubscriptionLink> for *mut aeron_subscription_link_t
impl From<&AeronSubscriptionLink> for *mut aeron_subscription_link_t
source§fn from(value: &AeronSubscriptionLink) -> Self
fn from(value: &AeronSubscriptionLink) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_subscription_link_stct> for AeronSubscriptionLink
impl From<*const aeron_subscription_link_stct> for AeronSubscriptionLink
source§fn from(value: *const aeron_subscription_link_t) -> Self
fn from(value: *const aeron_subscription_link_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_subscription_link_stct> for AeronSubscriptionLink
impl From<*mut aeron_subscription_link_stct> for AeronSubscriptionLink
source§fn from(value: *mut aeron_subscription_link_t) -> Self
fn from(value: *mut aeron_subscription_link_t) -> Self
Converts to this type from the input type.
source§impl From<AeronSubscriptionLink> for *mut aeron_subscription_link_t
impl From<AeronSubscriptionLink> for *mut aeron_subscription_link_t
source§fn from(value: AeronSubscriptionLink) -> Self
fn from(value: AeronSubscriptionLink) -> Self
Converts to this type from the input type.
source§impl From<AeronSubscriptionLink> for aeron_subscription_link_t
impl From<AeronSubscriptionLink> for aeron_subscription_link_t
source§fn from(value: AeronSubscriptionLink) -> Self
fn from(value: AeronSubscriptionLink) -> Self
Converts to this type from the input type.
source§impl From<aeron_subscription_link_stct> for AeronSubscriptionLink
impl From<aeron_subscription_link_stct> for AeronSubscriptionLink
source§fn from(value: aeron_subscription_link_t) -> Self
fn from(value: aeron_subscription_link_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronSubscriptionLink
impl !RefUnwindSafe for AeronSubscriptionLink
impl !Send for AeronSubscriptionLink
impl !Sync for AeronSubscriptionLink
impl Unpin for AeronSubscriptionLink
impl !UnwindSafe for AeronSubscriptionLink
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
)