PTWM
flavor

ptwm_core::flavor::abi

Per-kind ABI: Rust traits the host dispatcher invokes.

ptwm_core::flavor::abi

Per-kind ABI: Rust traits the host dispatcher invokes.

rsmod

ptwm_core::flavor::abi

crates/ptwm-core/src/flavor/abi.rs:1
mod abi

Per-kind ABI: Rust traits the host dispatcher invokes.

C ABI symbols and WASM exports for each kind are documented in `docs/architecture/extension-system.md` and implemented by reference contributions under `extensions/`. Per the design, every kind has its own ABI version. The encode-only kinds expose a single `apply` / `score` / etc. method; the both-side kinds expose `encode` + `decode` (or `forward` + `inverse`) pairs.
rstype

ptwm_core::flavor::abi::AnyState

crates/ptwm-core/src/flavor/abi.rs:63
pub trait AnyState

Trait-object marker for the per-kind state. Each kind defines its own `*State: Send` trait alias inheriting this; the host owns the boxed state for the lifetime of the contribution instance.

rstype

ptwm_core::flavor::abi::BenchmarkMetric

crates/ptwm-core/src/flavor/abi.rs:312
pub trait BenchmarkMetric
rstype

ptwm_core::flavor::abi::BenchmarkMetricState

crates/ptwm-core/src/flavor/abi.rs:111
pub trait BenchmarkMetricState
rstype

ptwm_core::flavor::abi::ChainBuilder

crates/ptwm-core/src/flavor/abi.rs:224
pub trait ChainBuilder
rstype

ptwm_core::flavor::abi::ChainBuilderState

crates/ptwm-core/src/flavor/abi.rs:93
pub trait ChainBuilderState
rstype

ptwm_core::flavor::abi::ChainExplorer

crates/ptwm-core/src/flavor/abi.rs:239
pub trait ChainExplorer
rstype

ptwm_core::flavor::abi::ChainExplorerState

crates/ptwm-core/src/flavor/abi.rs:96
pub trait ChainExplorerState
rstype

ptwm_core::flavor::abi::Classifier

crates/ptwm-core/src/flavor/abi.rs:256
pub trait Classifier
rstype

ptwm_core::flavor::abi::ClassifierState

crates/ptwm-core/src/flavor/abi.rs:99
pub trait ClassifierState
rstype

ptwm_core::flavor::abi::CodecError

crates/ptwm-core/src/flavor/abi.rs:16
pub enum CodecError

Errors returned across the ABI boundary. The wire encoding maps these to negative i64 return codes.

rstype

ptwm_core::flavor::abi::ContainerLayout

crates/ptwm-core/src/flavor/abi.rs:172
pub trait ContainerLayout
rstype

ptwm_core::flavor::abi::ContainerLayoutState

crates/ptwm-core/src/flavor/abi.rs:82
pub trait ContainerLayoutState
rstype

ptwm_core::flavor::abi::ConvertMode

crates/ptwm-core/src/flavor/abi.rs:307
pub enum ConvertMode
rstype

ptwm_core::flavor::abi::DeltaScheme

crates/ptwm-core/src/flavor/abi.rs:152
pub trait DeltaScheme
rstype

ptwm_core::flavor::abi::DeltaSchemeState

crates/ptwm-core/src/flavor/abi.rs:79
pub trait DeltaSchemeState
rstype

ptwm_core::flavor::abi::HardwareBackend

crates/ptwm-core/src/flavor/abi.rs:190
pub trait HardwareBackend
rstype

ptwm_core::flavor::abi::HardwareBackendState

crates/ptwm-core/src/flavor/abi.rs:85
pub trait HardwareBackendState
rstype

ptwm_core::flavor::abi::IntegrationAdapter

crates/ptwm-core/src/flavor/abi.rs:291
pub trait IntegrationAdapter
rstype

ptwm_core::flavor::abi::IntegrationAdapterState

crates/ptwm-core/src/flavor/abi.rs:108
pub trait IntegrationAdapterState
rstype

ptwm_core::flavor::abi::NoState

crates/ptwm-core/src/flavor/abi.rs:70
pub struct NoState;
rstype

ptwm_core::flavor::abi::PlaneCodec

crates/ptwm-core/src/flavor/abi.rs:134
pub trait PlaneCodec
rstype

ptwm_core::flavor::abi::PlaneCodecState

crates/ptwm-core/src/flavor/abi.rs:76
pub trait PlaneCodecState
rstype

ptwm_core::flavor::abi::RawBinary

crates/ptwm-core/src/flavor/abi.rs:203
pub trait RawBinary
rstype

ptwm_core::flavor::abi::RawBinaryState

crates/ptwm-core/src/flavor/abi.rs:88
pub trait RawBinaryState
rstype

ptwm_core::flavor::abi::Scorer

crates/ptwm-core/src/flavor/abi.rs:269
pub trait Scorer
rstype

ptwm_core::flavor::abi::ScorerState

crates/ptwm-core/src/flavor/abi.rs:102
pub trait ScorerState
rstype

ptwm_core::flavor::abi::TrainingHook

crates/ptwm-core/src/flavor/abi.rs:277
pub trait TrainingHook
rstype

ptwm_core::flavor::abi::TrainingHookState

crates/ptwm-core/src/flavor/abi.rs:105
pub trait TrainingHookState
rstype

ptwm_core::flavor::abi::Transform

crates/ptwm-core/src/flavor/abi.rs:116
pub trait Transform
rstype

ptwm_core::flavor::abi::TransformState

crates/ptwm-core/src/flavor/abi.rs:73
pub trait TransformState