Struct VerbsServerParams
pub struct VerbsServerParams {
pub qpn: u32,
pub psn: u32,
pub gid: [u8; 16],
pub layers: Vec<(u64, u32)>,
}Expand description
The server’s half of the verbs handshake (RO dialect: expert / weight /
LoRA tiers): its QP identity plus, per MoE layer (or per shard), the base
virtual address + rkey of that entry’s registered MR.
remote_addr(layer, expert) = layers[layer].0 + expert * record_stride.
Fields§
§qpn: u32§psn: u32§gid: [u8; 16]§layers: Vec<(u64, u32)>(mr_base_addr, rkey) for each MoE layer (expert tier) or shard
(weight/LoRA tiers), index-addressed.
Implementations§
Trait Implementations§
§impl Clone for VerbsServerParams
impl Clone for VerbsServerParams
§fn clone(&self) -> VerbsServerParams
fn clone(&self) -> VerbsServerParams
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 more§impl Debug for VerbsServerParams
impl Debug for VerbsServerParams
§impl PartialEq for VerbsServerParams
impl PartialEq for VerbsServerParams
§impl RemoteQp for VerbsServerParams
impl RemoteQp for VerbsServerParams
impl Eq for VerbsServerParams
impl StructuralPartialEq for VerbsServerParams
Auto Trait Implementations§
impl Freeze for VerbsServerParams
impl RefUnwindSafe for VerbsServerParams
impl Send for VerbsServerParams
impl Sync for VerbsServerParams
impl Unpin for VerbsServerParams
impl UnwindSafe for VerbsServerParams
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.