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§
Source§impl Clone for VerbsServerParams
impl Clone for VerbsServerParams
Source§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 moreSource§impl Debug for VerbsServerParams
impl Debug for VerbsServerParams
Source§impl PartialEq for VerbsServerParams
impl PartialEq 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