Struct pulsar_admin_sdk::models::allocator_stats::AllocatorStats
source · pub struct AllocatorStats {
pub direct_arenas: Option<Vec<PoolArenaStats>>,
pub heap_arenas: Option<Vec<PoolArenaStats>>,
pub normal_cache_size: Option<i32>,
pub num_direct_arenas: Option<i32>,
pub num_heap_arenas: Option<i32>,
pub num_thread_local_caches: Option<i32>,
pub small_cache_size: Option<i32>,
}Fields§
§direct_arenas: Option<Vec<PoolArenaStats>>§heap_arenas: Option<Vec<PoolArenaStats>>§normal_cache_size: Option<i32>§num_direct_arenas: Option<i32>§num_heap_arenas: Option<i32>§num_thread_local_caches: Option<i32>§small_cache_size: Option<i32>Implementations§
source§impl AllocatorStats
impl AllocatorStats
pub fn new() -> AllocatorStats
Trait Implementations§
source§impl Clone for AllocatorStats
impl Clone for AllocatorStats
source§fn clone(&self) -> AllocatorStats
fn clone(&self) -> AllocatorStats
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 AllocatorStats
impl Debug for AllocatorStats
source§impl Default for AllocatorStats
impl Default for AllocatorStats
source§fn default() -> AllocatorStats
fn default() -> AllocatorStats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AllocatorStats
impl<'de> Deserialize<'de> for AllocatorStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AllocatorStats
impl PartialEq for AllocatorStats
source§fn eq(&self, other: &AllocatorStats) -> bool
fn eq(&self, other: &AllocatorStats) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AllocatorStats
impl Serialize for AllocatorStats
impl StructuralPartialEq for AllocatorStats
Auto Trait Implementations§
impl RefUnwindSafe for AllocatorStats
impl Send for AllocatorStats
impl Sync for AllocatorStats
impl Unpin for AllocatorStats
impl UnwindSafe for AllocatorStats
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