pub struct AeronBlockingLinkedQueue { /* private fields */ }
Implementations§
source§impl AeronBlockingLinkedQueue
impl AeronBlockingLinkedQueue
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn queue(&self) -> AeronLinkedQueue
pub fn mutex(&self) -> aeron_mutex_t
pub fn cv(&self) -> aeron_cond_t
pub fn init(&self) -> Result<i32, AeronCError>
pub fn close(&self) -> Result<i32, AeronCError>
pub fn offer(&self, element: *mut c_void) -> Result<i32, AeronCError>
pub fn offer_ex( &self, element: *mut c_void, node: &AeronLinkedQueueNode, ) -> Result<i32, AeronCError>
pub fn poll(&self) -> *mut c_void
pub fn take(&self) -> *mut c_void
pub fn is_empty(&self) -> bool
pub fn unblock(&self)
pub fn get_inner(&self) -> *mut aeron_blocking_linked_queue_t
Trait Implementations§
source§impl Clone for AeronBlockingLinkedQueue
impl Clone for AeronBlockingLinkedQueue
source§fn clone(&self) -> AeronBlockingLinkedQueue
fn clone(&self) -> AeronBlockingLinkedQueue
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 AeronBlockingLinkedQueue
impl Debug for AeronBlockingLinkedQueue
source§impl Deref for AeronBlockingLinkedQueue
impl Deref for AeronBlockingLinkedQueue
source§impl From<&AeronBlockingLinkedQueue> for *mut aeron_blocking_linked_queue_t
impl From<&AeronBlockingLinkedQueue> for *mut aeron_blocking_linked_queue_t
source§fn from(value: &AeronBlockingLinkedQueue) -> Self
fn from(value: &AeronBlockingLinkedQueue) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_blocking_linked_queue_stct> for AeronBlockingLinkedQueue
impl From<*const aeron_blocking_linked_queue_stct> for AeronBlockingLinkedQueue
source§fn from(value: *const aeron_blocking_linked_queue_t) -> Self
fn from(value: *const aeron_blocking_linked_queue_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_blocking_linked_queue_stct> for AeronBlockingLinkedQueue
impl From<*mut aeron_blocking_linked_queue_stct> for AeronBlockingLinkedQueue
source§fn from(value: *mut aeron_blocking_linked_queue_t) -> Self
fn from(value: *mut aeron_blocking_linked_queue_t) -> Self
Converts to this type from the input type.
source§impl From<AeronBlockingLinkedQueue> for *mut aeron_blocking_linked_queue_t
impl From<AeronBlockingLinkedQueue> for *mut aeron_blocking_linked_queue_t
source§fn from(value: AeronBlockingLinkedQueue) -> Self
fn from(value: AeronBlockingLinkedQueue) -> Self
Converts to this type from the input type.
source§impl From<AeronBlockingLinkedQueue> for aeron_blocking_linked_queue_t
impl From<AeronBlockingLinkedQueue> for aeron_blocking_linked_queue_t
source§fn from(value: AeronBlockingLinkedQueue) -> Self
fn from(value: AeronBlockingLinkedQueue) -> Self
Converts to this type from the input type.
source§impl From<aeron_blocking_linked_queue_stct> for AeronBlockingLinkedQueue
impl From<aeron_blocking_linked_queue_stct> for AeronBlockingLinkedQueue
source§fn from(value: aeron_blocking_linked_queue_t) -> Self
fn from(value: aeron_blocking_linked_queue_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronBlockingLinkedQueue
impl !RefUnwindSafe for AeronBlockingLinkedQueue
impl !Send for AeronBlockingLinkedQueue
impl !Sync for AeronBlockingLinkedQueue
impl Unpin for AeronBlockingLinkedQueue
impl !UnwindSafe for AeronBlockingLinkedQueue
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
)