pub struct PagingKind(pub u8);Expand description
The tier a paging arena serves. Only the RW paging kinds (SSM, KV-as-paging)
ride the CacheServerParams single-base+rkey reply; the read-only tiers
(experts/weights/lora) speak a different manifest+VerbsServerParams dialect
and are NOT accepted on this handshake (rejected in parse_paging_header).
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
Whether this kind is servable on the RW paging (CacheServerParams) path.
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
Compare self to
key and return true if they are equal.