pub struct StationRestoreStats {
pub snapshot_entities: usize,
pub initial_entity_capacity: usize,
pub initial_id_index_capacity: usize,
pub final_entity_capacity: usize,
pub final_id_index_capacity: usize,
pub entity_capacity_grew: bool,
pub id_index_capacity_grew: bool,
}Expand description
Capacity observations from restoring one Station snapshot.
Fields§
§snapshot_entities: usizeEntity records requested by the snapshot.
initial_entity_capacity: usizeRecord-slot capacity available before inserting snapshot entities.
initial_id_index_capacity: usizeEntity-id index capacity available before inserting snapshot entities.
final_entity_capacity: usizeRecord-slot capacity after all snapshot entities were inserted.
final_id_index_capacity: usizeEntity-id index capacity after all snapshot entities were inserted.
entity_capacity_grew: boolWhether record/generation storage grew during insertion.
id_index_capacity_grew: boolWhether the entity-id index grew during insertion.
Trait Implementations§
Source§impl Clone for StationRestoreStats
impl Clone for StationRestoreStats
Source§fn clone(&self) -> StationRestoreStats
fn clone(&self) -> StationRestoreStats
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 StationRestoreStats
Source§impl Debug for StationRestoreStats
impl Debug for StationRestoreStats
Source§impl Default for StationRestoreStats
impl Default for StationRestoreStats
Source§fn default() -> StationRestoreStats
fn default() -> StationRestoreStats
Returns the “default value” for a type. Read more
impl Eq for StationRestoreStats
Source§impl PartialEq for StationRestoreStats
impl PartialEq for StationRestoreStats
impl StructuralPartialEq for StationRestoreStats
Auto Trait Implementations§
impl Freeze for StationRestoreStats
impl RefUnwindSafe for StationRestoreStats
impl Send for StationRestoreStats
impl Sync for StationRestoreStats
impl Unpin for StationRestoreStats
impl UnsafeUnpin for StationRestoreStats
impl UnwindSafe for StationRestoreStats
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