Expand description
An object mapper for looking up rpc::Object
s 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 theirObjectId
. - RawAddr 🔒
- The raw address of an object held in an Arc or Weak.
- Strong
Idx 🔒 - Tagged
Addr 🔒 - An address, type identity, and ownership status, used to identify a
Arc<dyn rpc::Object>
. - WeakIdx 🔒
Enums§
Functions§
- raw_
addr_ 🔒of - Return the
RawAddr
of an arbitraryArc<T>
. - raw_
addr_ 🔒of_ weak - Return the
RawAddr
of an arbitraryWeak<T>
.