Expand description
One enum over every way a value can be held.
A script does not care whether a value is owned, borrowed or garbage
collected, it just wants to read or write it. ManagedValue and
DynamicManagedValue wrap all of those roles and forward the common
operations to whichever one is inside.
Operations that the role cannot support return None, so for example
writing through a shared handle simply fails.
Enumsยง
- Dynamic
Managed Value - A value of a runtime known type, held in any of the possible ways.
- Managed
Value - A typed value held in any of the possible ways.