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>
.