pub struct GroupLayout {
pub packing: usize,
pub block_bytes: usize,
pub shard_count: usize,
}Expand description
One cache group’s blocks in the Host pool.
Fields§
§packing: usizeCache blocks per LCM block.
block_bytes: usizeBytes of one packed cache block.
shard_count: usizeOwners the group’s blocks are dealt to; 1 is replicated.
Trait Implementations§
Source§impl Clone for GroupLayout
impl Clone for GroupLayout
impl Copy for GroupLayout
Source§impl Debug for GroupLayout
impl Debug for GroupLayout
impl Eq for GroupLayout
Source§impl PartialEq for GroupLayout
impl PartialEq for GroupLayout
impl StructuralPartialEq for GroupLayout
Auto Trait Implementations§
impl Freeze for GroupLayout
impl RefUnwindSafe for GroupLayout
impl Send for GroupLayout
impl Sync for GroupLayout
impl Unpin for GroupLayout
impl UnsafeUnpin for GroupLayout
impl UnwindSafe for GroupLayout
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.