pub struct AeronCountersReaderBuffers { /* private fields */ }
Implementations§
source§impl AeronCountersReaderBuffers
impl AeronCountersReaderBuffers
pub fn new( values: *mut u8, metadata: *mut u8, values_length: usize, metadata_length: usize, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn values(&self) -> *mut u8
pub fn metadata(&self) -> *mut u8
pub fn values_length(&self) -> usize
pub fn metadata_length(&self) -> usize
pub fn get_inner(&self) -> *mut aeron_counters_reader_buffers_t
Trait Implementations§
source§impl Clone for AeronCountersReaderBuffers
impl Clone for AeronCountersReaderBuffers
source§fn clone(&self) -> AeronCountersReaderBuffers
fn clone(&self) -> AeronCountersReaderBuffers
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 AeronCountersReaderBuffers
impl Debug for AeronCountersReaderBuffers
source§impl Default for AeronCountersReaderBuffers
impl Default for AeronCountersReaderBuffers
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronCountersReaderBuffers
impl Deref for AeronCountersReaderBuffers
source§impl From<&AeronCountersReaderBuffers> for *mut aeron_counters_reader_buffers_t
impl From<&AeronCountersReaderBuffers> for *mut aeron_counters_reader_buffers_t
source§fn from(value: &AeronCountersReaderBuffers) -> Self
fn from(value: &AeronCountersReaderBuffers) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_counters_reader_buffers_stct> for AeronCountersReaderBuffers
impl From<*const aeron_counters_reader_buffers_stct> for AeronCountersReaderBuffers
source§fn from(value: *const aeron_counters_reader_buffers_t) -> Self
fn from(value: *const aeron_counters_reader_buffers_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_counters_reader_buffers_stct> for AeronCountersReaderBuffers
impl From<*mut aeron_counters_reader_buffers_stct> for AeronCountersReaderBuffers
source§fn from(value: *mut aeron_counters_reader_buffers_t) -> Self
fn from(value: *mut aeron_counters_reader_buffers_t) -> Self
Converts to this type from the input type.
source§impl From<AeronCountersReaderBuffers> for *mut aeron_counters_reader_buffers_t
impl From<AeronCountersReaderBuffers> for *mut aeron_counters_reader_buffers_t
source§fn from(value: AeronCountersReaderBuffers) -> Self
fn from(value: AeronCountersReaderBuffers) -> Self
Converts to this type from the input type.
source§impl From<AeronCountersReaderBuffers> for aeron_counters_reader_buffers_t
impl From<AeronCountersReaderBuffers> for aeron_counters_reader_buffers_t
source§fn from(value: AeronCountersReaderBuffers) -> Self
fn from(value: AeronCountersReaderBuffers) -> Self
Converts to this type from the input type.
source§impl From<aeron_counters_reader_buffers_stct> for AeronCountersReaderBuffers
impl From<aeron_counters_reader_buffers_stct> for AeronCountersReaderBuffers
source§fn from(value: aeron_counters_reader_buffers_t) -> Self
fn from(value: aeron_counters_reader_buffers_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronCountersReaderBuffers
impl !RefUnwindSafe for AeronCountersReaderBuffers
impl !Send for AeronCountersReaderBuffers
impl !Sync for AeronCountersReaderBuffers
impl Unpin for AeronCountersReaderBuffers
impl !UnwindSafe for AeronCountersReaderBuffers
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
)