pub struct AeronMpscConcurrentArrayQueue { /* private fields */ }
Implementations§
source§impl AeronMpscConcurrentArrayQueue
impl AeronMpscConcurrentArrayQueue
pub fn new( padding: [i8; 56], producer: aeron_mpsc_concurrent_array_queue_stct__bindgen_ty_1, consumer: aeron_mpsc_concurrent_array_queue_stct__bindgen_ty_2, capacity: usize, mask: usize, buffer: *mut *mut c_void, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn padding(&self) -> [i8; 56]
pub fn producer(&self) -> aeron_mpsc_concurrent_array_queue_stct__bindgen_ty_1
pub fn consumer(&self) -> aeron_mpsc_concurrent_array_queue_stct__bindgen_ty_2
pub fn capacity(&self) -> usize
pub fn mask(&self) -> usize
pub fn buffer(&self) -> *mut *mut c_void
pub fn init(&self, length: usize) -> Result<i32, AeronCError>
pub fn close(&self) -> Result<i32, AeronCError>
pub fn get_inner(&self) -> *mut aeron_mpsc_concurrent_array_queue_t
Trait Implementations§
source§impl Clone for AeronMpscConcurrentArrayQueue
impl Clone for AeronMpscConcurrentArrayQueue
source§fn clone(&self) -> AeronMpscConcurrentArrayQueue
fn clone(&self) -> AeronMpscConcurrentArrayQueue
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 AeronMpscConcurrentArrayQueue
impl Default for AeronMpscConcurrentArrayQueue
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronMpscConcurrentArrayQueue> for *mut aeron_mpsc_concurrent_array_queue_t
impl From<&AeronMpscConcurrentArrayQueue> for *mut aeron_mpsc_concurrent_array_queue_t
source§fn from(value: &AeronMpscConcurrentArrayQueue) -> Self
fn from(value: &AeronMpscConcurrentArrayQueue) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_mpsc_concurrent_array_queue_stct> for AeronMpscConcurrentArrayQueue
impl From<*const aeron_mpsc_concurrent_array_queue_stct> for AeronMpscConcurrentArrayQueue
source§fn from(value: *const aeron_mpsc_concurrent_array_queue_t) -> Self
fn from(value: *const aeron_mpsc_concurrent_array_queue_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_mpsc_concurrent_array_queue_stct> for AeronMpscConcurrentArrayQueue
impl From<*mut aeron_mpsc_concurrent_array_queue_stct> for AeronMpscConcurrentArrayQueue
source§fn from(value: *mut aeron_mpsc_concurrent_array_queue_t) -> Self
fn from(value: *mut aeron_mpsc_concurrent_array_queue_t) -> Self
Converts to this type from the input type.
source§impl From<AeronMpscConcurrentArrayQueue> for *mut aeron_mpsc_concurrent_array_queue_t
impl From<AeronMpscConcurrentArrayQueue> for *mut aeron_mpsc_concurrent_array_queue_t
source§fn from(value: AeronMpscConcurrentArrayQueue) -> Self
fn from(value: AeronMpscConcurrentArrayQueue) -> Self
Converts to this type from the input type.
source§impl From<AeronMpscConcurrentArrayQueue> for aeron_mpsc_concurrent_array_queue_t
impl From<AeronMpscConcurrentArrayQueue> for aeron_mpsc_concurrent_array_queue_t
source§fn from(value: AeronMpscConcurrentArrayQueue) -> Self
fn from(value: AeronMpscConcurrentArrayQueue) -> Self
Converts to this type from the input type.
source§impl From<aeron_mpsc_concurrent_array_queue_stct> for AeronMpscConcurrentArrayQueue
impl From<aeron_mpsc_concurrent_array_queue_stct> for AeronMpscConcurrentArrayQueue
source§fn from(value: aeron_mpsc_concurrent_array_queue_t) -> Self
fn from(value: aeron_mpsc_concurrent_array_queue_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronMpscConcurrentArrayQueue
impl !RefUnwindSafe for AeronMpscConcurrentArrayQueue
impl !Send for AeronMpscConcurrentArrayQueue
impl !Sync for AeronMpscConcurrentArrayQueue
impl Unpin for AeronMpscConcurrentArrayQueue
impl !UnwindSafe for AeronMpscConcurrentArrayQueue
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
)