pub struct Handle {
pub pool_id: u32,
pub handle_id: u32,
pub generation: u32,
}Expand description
A pool-relative pool callback handle — pure data, no methods (D7).
(pool_id, handle_id) per D7/DR-2; the Rust pool adds a local generation
(B32) so a recycled slotmap slot can be told apart from a stale handle (the
pool frees a dropped node’s fn slot and reuses it). generation is a
PER-LANGUAGE impl detail (D24), NOT part of the protocol/IDL Handle — it is
wire-meaningless and is dropped at the wire boundary (a wired handle is
re-resolved against the remote pool). User-approved Handle-widening 2026-05-29
(see CLEAN-SLATE.md). A node is NOT a handle; a handle is inert routing data.
Fields§
§pool_id: u32pool_id field for pool id.
handle_id: u32handle_id field for handle id.
generation: u32Local slotmap generation (B32, per-language) — NOT in the protocol IDL.
Trait Implementations§
impl Copy for Handle
impl Eq for Handle
impl StructuralPartialEq for Handle
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnsafeUnpin for Handle
impl UnwindSafe for Handle
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.