pub enum SegmentSlot {
City,
Building,
Resident,
Run,
}Expand description
The four slots in stability order; the order is the cache economics. Exactly four — deliberately exhaustive.
Variants§
Implementations§
Source§impl SegmentSlot
impl SegmentSlot
Sourcepub const ALL: [SegmentSlot; 4]
pub const ALL: [SegmentSlot; 4]
The four slots in prefix order, which is also the order the cache breakpoints are declared in on the wire.
Whether every resident of one building carries this slot byte
for byte (crates/runtime/spec/Prefix.lean D97): the Resident
slot is built from an identity and a catalog, and the Run slot
belongs to one run.
Trait Implementations§
Source§impl Clone for SegmentSlot
impl Clone for SegmentSlot
impl Copy for SegmentSlot
Source§impl Debug for SegmentSlot
impl Debug for SegmentSlot
impl Eq for SegmentSlot
Source§impl PartialEq for SegmentSlot
impl PartialEq for SegmentSlot
impl StructuralPartialEq for SegmentSlot
Auto Trait Implementations§
impl Freeze for SegmentSlot
impl RefUnwindSafe for SegmentSlot
impl Send for SegmentSlot
impl Sync for SegmentSlot
impl Unpin for SegmentSlot
impl UnsafeUnpin for SegmentSlot
impl UnwindSafe for SegmentSlot
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