pub struct AeronSpscConcurrentArrayQueue { /* private fields */ }
Implementations§
source§impl AeronSpscConcurrentArrayQueue
impl AeronSpscConcurrentArrayQueue
pub fn new( padding: [i8; 56], producer: aeron_spsc_concurrent_array_queue_stct__bindgen_ty_1, consumer: aeron_spsc_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_spsc_concurrent_array_queue_stct__bindgen_ty_1
pub fn consumer(&self) -> aeron_spsc_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_spsc_concurrent_array_queue_t
Trait Implementations§
source§impl Clone for AeronSpscConcurrentArrayQueue
impl Clone for AeronSpscConcurrentArrayQueue
source§fn clone(&self) -> AeronSpscConcurrentArrayQueue
fn clone(&self) -> AeronSpscConcurrentArrayQueue
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 AeronSpscConcurrentArrayQueue
impl Default for AeronSpscConcurrentArrayQueue
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronSpscConcurrentArrayQueue> for *mut aeron_spsc_concurrent_array_queue_t
impl From<&AeronSpscConcurrentArrayQueue> for *mut aeron_spsc_concurrent_array_queue_t
source§fn from(value: &AeronSpscConcurrentArrayQueue) -> Self
fn from(value: &AeronSpscConcurrentArrayQueue) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_spsc_concurrent_array_queue_stct> for AeronSpscConcurrentArrayQueue
impl From<*const aeron_spsc_concurrent_array_queue_stct> for AeronSpscConcurrentArrayQueue
source§fn from(value: *const aeron_spsc_concurrent_array_queue_t) -> Self
fn from(value: *const aeron_spsc_concurrent_array_queue_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_spsc_concurrent_array_queue_stct> for AeronSpscConcurrentArrayQueue
impl From<*mut aeron_spsc_concurrent_array_queue_stct> for AeronSpscConcurrentArrayQueue
source§fn from(value: *mut aeron_spsc_concurrent_array_queue_t) -> Self
fn from(value: *mut aeron_spsc_concurrent_array_queue_t) -> Self
Converts to this type from the input type.
source§impl From<AeronSpscConcurrentArrayQueue> for *mut aeron_spsc_concurrent_array_queue_t
impl From<AeronSpscConcurrentArrayQueue> for *mut aeron_spsc_concurrent_array_queue_t
source§fn from(value: AeronSpscConcurrentArrayQueue) -> Self
fn from(value: AeronSpscConcurrentArrayQueue) -> Self
Converts to this type from the input type.
source§impl From<AeronSpscConcurrentArrayQueue> for aeron_spsc_concurrent_array_queue_t
impl From<AeronSpscConcurrentArrayQueue> for aeron_spsc_concurrent_array_queue_t
source§fn from(value: AeronSpscConcurrentArrayQueue) -> Self
fn from(value: AeronSpscConcurrentArrayQueue) -> Self
Converts to this type from the input type.
source§impl From<aeron_spsc_concurrent_array_queue_stct> for AeronSpscConcurrentArrayQueue
impl From<aeron_spsc_concurrent_array_queue_stct> for AeronSpscConcurrentArrayQueue
source§fn from(value: aeron_spsc_concurrent_array_queue_t) -> Self
fn from(value: aeron_spsc_concurrent_array_queue_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronSpscConcurrentArrayQueue
impl !RefUnwindSafe for AeronSpscConcurrentArrayQueue
impl !Send for AeronSpscConcurrentArrayQueue
impl !Sync for AeronSpscConcurrentArrayQueue
impl Unpin for AeronSpscConcurrentArrayQueue
impl !UnwindSafe for AeronSpscConcurrentArrayQueue
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
)