type SendableDataPtr = Sendable<*mut u8>;Expand description
Wrapper to make *mut u8 pointers Send for cross-thread routing.
Unlike SendablePtr<T> in externalptr, this allows null pointers
since allocator operations can fail and return null.
§Safety
Same safety model as Sendable<T> and SendablePtr:
- The pointer value (memory address) is safely transmitted between threads
- The pointer is only dereferenced on R’s main thread
- This is guaranteed by the
with_r_thread_or_inlinerouting mechanism
Aliased Type§
struct SendableDataPtr(/* private fields */);