Module objmap

Source
Expand description

An object mapper for looking up rpc::Objects by ID.

This mapper stores strong or weak references, and uses a generational index to keep track of names for them.

TODO RPC: Add an object diagram here once the implementation settles down.

Modules§

methods 🔒
Implementations for rpc methods that interact with object IDs directly.
weakrefs 🔒
Support for weak references.

Structs§

ObjMap 🔒
A mechanism to look up RPC Objects by their ObjectId.
RawAddr 🔒
The raw address of an object held in an Arc or Weak.
StrongIdx 🔒
TaggedAddr 🔒
An address, type identity, and ownership status, used to identify a Arc<dyn rpc::Object>.
WeakIdx 🔒

Enums§

GenIdx 🔒
A generational index for ObjMap.

Functions§

raw_addr_of 🔒
Return the RawAddr of an arbitrary Arc<T>.
raw_addr_of_weak 🔒
Return the RawAddr of an arbitrary Weak<T>.