Skip to main content

Module adapter

Module adapter 

Source
Expand description

Repository-owned safety adapter for snapshot and replay internals.

Structs§

AdapterIdentity
SnapshotEntry
SnapshotFacts
SnapshotLimits
SnapshotValidation

Enums§

AdapterIdentityError
Failure to authorize the linked native adapter before using any Box2D API.
AdapterIdentityField
One field of the linked native adapter that does not match this Rust crate instance.
SnapshotValidationError
Why a snapshot could not be safely validated by the linked adapter.

Constants§

ADAPTER_ABI_VERSION
RECORDING_VERSION_MAJOR
RECORDING_VERSION_MINOR
SNAPSHOT_ABI_MISMATCH
SNAPSHOT_BAD_HEADER
SNAPSHOT_BUFFER_TOO_SMALL
SNAPSHOT_DUPLICATE
SNAPSHOT_ENTRY_BODY
SNAPSHOT_ENTRY_CHAIN
SNAPSHOT_ENTRY_CONTACT
SNAPSHOT_ENTRY_ISLAND
SNAPSHOT_ENTRY_JOINT
SNAPSHOT_ENTRY_LIVE
SNAPSHOT_ENTRY_REQUIRES_CUSTOM_FILTER
SNAPSHOT_ENTRY_REQUIRES_PRE_SOLVE
SNAPSHOT_ENTRY_SHAPE
SNAPSHOT_ENTRY_SOLVER_SET
SNAPSHOT_ENTRY_VERSION
SNAPSHOT_FACTS_VERSION
SNAPSHOT_INVALID_REFERENCE
SNAPSHOT_INVALID_VALUE
SNAPSHOT_LIMIT_EXCEEDED
SNAPSHOT_NULL_INPUT
SNAPSHOT_OK
SNAPSHOT_OVERFLOW
SNAPSHOT_TRAILING_BYTES
SNAPSHOT_TRUNCATED
SNAPSHOT_VERSION

Statics§

boxddEffectiveSourceSha256

Functions§

boxddAdapter_AbiVersion
boxddAdapter_GetIdentity
boxddAdapter_GetSnapshotLayoutHash
boxddRecPlayer_IsHealthy
boxddSnapshot_Validate
runtime_identity
Returns the runtime identity compiled into the linked adapter.
validate_snapshot
Fully validates a snapshot and returns its canonical slot facts.
verify_identity
Verifies a captured identity against this exact Rust crate build.
verify_runtime_identity
Reads and authorizes the linked adapter before any non-adapter Box2D FFI call.

Type Aliases§

SnapshotStatus