pub struct RegistryReport {
pub num_allocated: usize,
pub num_kept_from_user: usize,
pub num_released_from_user: usize,
pub element_size: usize,
}Fields§
§num_allocated: usizeCount of IDs allocated by IdentityManager
This may be inconsistent with other fields of the report if IDs are allocated or released concurrently with report generation.
num_kept_from_user: usize§num_released_from_user: usize§element_size: usizeImplementations§
Trait Implementations§
Source§impl Clone for RegistryReport
impl Clone for RegistryReport
Source§fn clone(&self) -> RegistryReport
fn clone(&self) -> RegistryReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegistryReport
Source§impl Debug for RegistryReport
impl Debug for RegistryReport
Source§impl Default for RegistryReport
impl Default for RegistryReport
Source§fn default() -> RegistryReport
fn default() -> RegistryReport
Returns the “default value” for a type. Read more
impl Eq for RegistryReport
Source§impl PartialEq for RegistryReport
impl PartialEq for RegistryReport
Source§fn eq(&self, other: &RegistryReport) -> bool
fn eq(&self, other: &RegistryReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegistryReport
Auto Trait Implementations§
impl Freeze for RegistryReport
impl RefUnwindSafe for RegistryReport
impl Send for RegistryReport
impl Sync for RegistryReport
impl Unpin for RegistryReport
impl UnsafeUnpin for RegistryReport
impl UnwindSafe for RegistryReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.