MCPcopy Create free account
hub / github.com/MarcusRainbow/QuantMath / from_handle

Function from_handle

src/facade/handle.rs:211–216  ·  view source on GitHub ↗

Converts a result containing either a handle or an error into a u64. The u64 is the address of a small heap-allocated object that contains the reference counted pointer to the object. Thus, the handle *must* be freed or the reference count will remain incremented and the object itself will never be deleted.

(result: Result<Handle, qm::Error>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

qm_cloneFunction · 0.85
return_handleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected