pub struct AeronAsyncGetNextAvailableSessionId { /* private fields */ }Implementations§
Source§impl AeronAsyncGetNextAvailableSessionId
impl AeronAsyncGetNextAvailableSessionId
Sourcepub fn new_zeroed_on_heap() -> Self
pub fn new_zeroed_on_heap() -> Self
creates zeroed struct where the underlying c struct is on the heap
Sourcepub fn new_zeroed_on_stack() -> Self
pub fn new_zeroed_on_stack() -> Self
creates zeroed struct where the underlying c struct is on the stack (Use with care)
Sourcepub fn aeron_async_next_session_id_poll(&self) -> Result<i32, AeronCError>
pub fn aeron_async_next_session_id_poll(&self) -> Result<i32, AeronCError>
Poll the completion of the aeron_async_next_session_id call.
§Parameters
next_session_idto set if completed successfully.
pub fn get_inner(&self) -> *mut aeron_async_get_next_available_session_id_t
pub fn get_inner_mut(&self) -> &mut aeron_async_get_next_available_session_id_t
pub fn get_inner_ref(&self) -> &aeron_async_get_next_available_session_id_t
Trait Implementations§
Source§impl Clone for AeronAsyncGetNextAvailableSessionId
impl Clone for AeronAsyncGetNextAvailableSessionId
Source§fn clone(&self) -> AeronAsyncGetNextAvailableSessionId
fn clone(&self) -> AeronAsyncGetNextAvailableSessionId
Returns a duplicate 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 From<&AeronAsyncGetNextAvailableSessionId> for *mut aeron_async_get_next_available_session_id_t
impl From<&AeronAsyncGetNextAvailableSessionId> for *mut aeron_async_get_next_available_session_id_t
Source§fn from(value: &AeronAsyncGetNextAvailableSessionId) -> Self
fn from(value: &AeronAsyncGetNextAvailableSessionId) -> Self
Converts to this type from the input type.
Source§impl From<*const aeron_client_registering_resource_stct> for AeronAsyncGetNextAvailableSessionId
impl From<*const aeron_client_registering_resource_stct> for AeronAsyncGetNextAvailableSessionId
Source§fn from(value: *const aeron_async_get_next_available_session_id_t) -> Self
fn from(value: *const aeron_async_get_next_available_session_id_t) -> Self
Converts to this type from the input type.
Source§impl From<*mut aeron_client_registering_resource_stct> for AeronAsyncGetNextAvailableSessionId
impl From<*mut aeron_client_registering_resource_stct> for AeronAsyncGetNextAvailableSessionId
Source§fn from(value: *mut aeron_async_get_next_available_session_id_t) -> Self
fn from(value: *mut aeron_async_get_next_available_session_id_t) -> Self
Converts to this type from the input type.
Source§impl From<AeronAsyncGetNextAvailableSessionId> for *mut aeron_async_get_next_available_session_id_t
impl From<AeronAsyncGetNextAvailableSessionId> for *mut aeron_async_get_next_available_session_id_t
Source§fn from(value: AeronAsyncGetNextAvailableSessionId) -> Self
fn from(value: AeronAsyncGetNextAvailableSessionId) -> Self
Converts to this type from the input type.
Source§impl From<AeronAsyncGetNextAvailableSessionId> for aeron_async_get_next_available_session_id_t
impl From<AeronAsyncGetNextAvailableSessionId> for aeron_async_get_next_available_session_id_t
Source§fn from(value: AeronAsyncGetNextAvailableSessionId) -> Self
fn from(value: AeronAsyncGetNextAvailableSessionId) -> Self
Converts to this type from the input type.
Source§impl From<aeron_client_registering_resource_stct> for AeronAsyncGetNextAvailableSessionId
impl From<aeron_client_registering_resource_stct> for AeronAsyncGetNextAvailableSessionId
Source§fn from(value: aeron_async_get_next_available_session_id_t) -> Self
fn from(value: aeron_async_get_next_available_session_id_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronAsyncGetNextAvailableSessionId
impl !RefUnwindSafe for AeronAsyncGetNextAvailableSessionId
impl !Send for AeronAsyncGetNextAvailableSessionId
impl !Sync for AeronAsyncGetNextAvailableSessionId
impl Unpin for AeronAsyncGetNextAvailableSessionId
impl !UnwindSafe for AeronAsyncGetNextAvailableSessionId
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