Settings
Help

Module objmap

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