pub struct AeronCountersManager { /* private fields */ }
Implementations§
source§impl AeronCountersManager
impl AeronCountersManager
pub fn new( values: *mut u8, metadata: *mut u8, values_length: usize, metadata_length: usize, max_counter_id: i32, id_high_water_mark: i32, free_list: &mut i32, free_list_index: i32, free_list_length: usize, cached_clock: &AeronClockCache, free_to_reuse_timeout_ms: i64, ) -> 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 max_counter_id(&self) -> i32
pub fn id_high_water_mark(&self) -> i32
pub fn free_list(&self) -> &mut i32
pub fn free_list_index(&self) -> i32
pub fn free_list_length(&self) -> usize
pub fn cached_clock(&self) -> AeronClockCache
pub fn free_to_reuse_timeout_ms(&self) -> i64
pub fn init( &self, metadata_buffer: *mut u8, metadata_length: usize, values_buffer: *mut u8, values_length: usize, cached_clock: &AeronClockCache, free_to_reuse_timeout_ms: i64, ) -> Result<i32, AeronCError>
pub fn close(&self)
pub fn allocate(&self, type_id: i32, key: &[u8], label: &str) -> i32
pub fn counter_registration_id(&self, counter_id: i32, registration_id: i64)
pub fn counter_owner_id(&self, counter_id: i32, owner_id: i64)
pub fn counter_reference_id(&self, counter_id: i32, reference_id: i64)
pub fn update_label(&self, counter_id: i32, label_length: usize, label: &str)
pub fn append_to_label(&self, counter_id: i32, length: usize, value: &str)
pub fn next_counter_id(&self) -> i32
pub fn free(&self, counter_id: i32) -> Result<i32, AeronCError>
pub fn aeron_ipc_publication_close(&self, publication: &AeronIpcPublication)
pub fn aeron_network_publication_close( &self, publication: &AeronNetworkPublication, )
pub fn aeron_send_channel_endpoint_delete( &self, endpoint: &AeronSendChannelEndpoint, ) -> Result<i32, AeronCError>
pub fn aeron_receive_channel_endpoint_delete( &self, endpoint: &AeronReceiveChannelEndpoint, ) -> Result<i32, AeronCError>
pub fn aeron_publication_image_close( &self, image: &AeronPublicationImage, ) -> Result<i32, AeronCError>
pub fn get_inner(&self) -> *mut aeron_counters_manager_t
Trait Implementations§
source§impl Clone for AeronCountersManager
impl Clone for AeronCountersManager
source§fn clone(&self) -> AeronCountersManager
fn clone(&self) -> AeronCountersManager
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 AeronCountersManager
impl Debug for AeronCountersManager
source§impl Default for AeronCountersManager
impl Default for AeronCountersManager
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronCountersManager
impl Deref for AeronCountersManager
source§impl From<&AeronCountersManager> for *mut aeron_counters_manager_t
impl From<&AeronCountersManager> for *mut aeron_counters_manager_t
source§fn from(value: &AeronCountersManager) -> Self
fn from(value: &AeronCountersManager) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_counters_manager_stct> for AeronCountersManager
impl From<*const aeron_counters_manager_stct> for AeronCountersManager
source§fn from(value: *const aeron_counters_manager_t) -> Self
fn from(value: *const aeron_counters_manager_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_counters_manager_stct> for AeronCountersManager
impl From<*mut aeron_counters_manager_stct> for AeronCountersManager
source§fn from(value: *mut aeron_counters_manager_t) -> Self
fn from(value: *mut aeron_counters_manager_t) -> Self
Converts to this type from the input type.
source§impl From<AeronCountersManager> for *mut aeron_counters_manager_t
impl From<AeronCountersManager> for *mut aeron_counters_manager_t
source§fn from(value: AeronCountersManager) -> Self
fn from(value: AeronCountersManager) -> Self
Converts to this type from the input type.
source§impl From<AeronCountersManager> for aeron_counters_manager_t
impl From<AeronCountersManager> for aeron_counters_manager_t
source§fn from(value: AeronCountersManager) -> Self
fn from(value: AeronCountersManager) -> Self
Converts to this type from the input type.
source§impl From<aeron_counters_manager_stct> for AeronCountersManager
impl From<aeron_counters_manager_stct> for AeronCountersManager
source§fn from(value: aeron_counters_manager_t) -> Self
fn from(value: aeron_counters_manager_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronCountersManager
impl !RefUnwindSafe for AeronCountersManager
impl !Send for AeronCountersManager
impl !Sync for AeronCountersManager
impl Unpin for AeronCountersManager
impl !UnwindSafe for AeronCountersManager
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
)