pub struct AeronTetherablePosition { /* private fields */ }
Implementations§
source§impl AeronTetherablePosition
impl AeronTetherablePosition
pub fn new( is_tether: bool, state: aeron_subscription_tether_state_t, counter_id: i32, value_addr: &mut i64, subscription_registration_id: i64, time_of_last_update_ns: i64, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn is_tether(&self) -> bool
pub fn state(&self) -> aeron_subscription_tether_state_t
pub fn counter_id(&self) -> i32
pub fn value_addr(&self) -> &mut i64
pub fn subscription_registration_id(&self) -> i64
pub fn time_of_last_update_ns(&self) -> i64
pub fn aeron_untethered_subscription_state_change( &self, now_ns: i64, new_state: aeron_subscription_tether_state_t, stream_id: i32, session_id: i32, )
pub fn get_inner(&self) -> *mut aeron_tetherable_position_t
Trait Implementations§
source§impl Clone for AeronTetherablePosition
impl Clone for AeronTetherablePosition
source§fn clone(&self) -> AeronTetherablePosition
fn clone(&self) -> AeronTetherablePosition
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 AeronTetherablePosition
impl Debug for AeronTetherablePosition
source§impl Default for AeronTetherablePosition
impl Default for AeronTetherablePosition
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronTetherablePosition
impl Deref for AeronTetherablePosition
source§impl From<&AeronTetherablePosition> for *mut aeron_tetherable_position_t
impl From<&AeronTetherablePosition> for *mut aeron_tetherable_position_t
source§fn from(value: &AeronTetherablePosition) -> Self
fn from(value: &AeronTetherablePosition) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_tetherable_position_stct> for AeronTetherablePosition
impl From<*const aeron_tetherable_position_stct> for AeronTetherablePosition
source§fn from(value: *const aeron_tetherable_position_t) -> Self
fn from(value: *const aeron_tetherable_position_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_tetherable_position_stct> for AeronTetherablePosition
impl From<*mut aeron_tetherable_position_stct> for AeronTetherablePosition
source§fn from(value: *mut aeron_tetherable_position_t) -> Self
fn from(value: *mut aeron_tetherable_position_t) -> Self
Converts to this type from the input type.
source§impl From<AeronTetherablePosition> for *mut aeron_tetherable_position_t
impl From<AeronTetherablePosition> for *mut aeron_tetherable_position_t
source§fn from(value: AeronTetherablePosition) -> Self
fn from(value: AeronTetherablePosition) -> Self
Converts to this type from the input type.
source§impl From<AeronTetherablePosition> for aeron_tetherable_position_t
impl From<AeronTetherablePosition> for aeron_tetherable_position_t
source§fn from(value: AeronTetherablePosition) -> Self
fn from(value: AeronTetherablePosition) -> Self
Converts to this type from the input type.
source§impl From<aeron_tetherable_position_stct> for AeronTetherablePosition
impl From<aeron_tetherable_position_stct> for AeronTetherablePosition
source§fn from(value: aeron_tetherable_position_t) -> Self
fn from(value: aeron_tetherable_position_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronTetherablePosition
impl !RefUnwindSafe for AeronTetherablePosition
impl !Send for AeronTetherablePosition
impl !Sync for AeronTetherablePosition
impl Unpin for AeronTetherablePosition
impl !UnwindSafe for AeronTetherablePosition
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
)