pub struct PagingKind(pub u8);Expand description
2026-09-25: The tier a paging arena serves. Only SSM and KV are accepted
(parse_paging_header); the read-only expert and weight peers use their own
handshake.
Tuple Fields§
§0: u8Implementations§
Source§impl PagingKind
impl PagingKind
pub const SSM: PagingKind
pub const KV: PagingKind
Sourcepub fn is_paging_rw(self) -> bool
pub fn is_paging_rw(self) -> bool
2026-09-25: true for SSM and KV.
Trait Implementations§
Source§impl Clone for PagingKind
impl Clone for PagingKind
Source§fn clone(&self) -> PagingKind
fn clone(&self) -> PagingKind
Returns a duplicate 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 PagingKind
impl Debug for PagingKind
Source§impl Hash for PagingKind
impl Hash for PagingKind
Source§impl PartialEq for PagingKind
impl PartialEq for PagingKind
impl Copy for PagingKind
impl Eq for PagingKind
impl StructuralPartialEq for PagingKind
Auto Trait Implementations§
impl Freeze for PagingKind
impl RefUnwindSafe for PagingKind
impl Send for PagingKind
impl Sync for PagingKind
impl Unpin for PagingKind
impl UnwindSafe for PagingKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.