Module shadow_rs::utility

source ·
Expand description

Miscellaneous utilities that are used by Shadow.

Modules§

Structs§

  • A pointer to an object that is safe to dereference from any thread, if the Host lock for the specified host is held.
  • Runtime memory error checking to help catch errors that C code is prone to. Can probably drop once C interop is removed.
  • Helper for tracking the number of allocated objects.

Enums§

Traits§

  • A trait we can use as a compile-time check to make sure that an object is Send.
  • A trait we can use as a compile-time check to make sure that an object is Sync.

Functions§