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.
ptwm_core::flavor::abi
crates/ptwm-core/src/flavor/abi.rs:1mod abiPer-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.
ptwm_core::flavor::abi::AnyState
crates/ptwm-core/src/flavor/abi.rs:63pub trait AnyStateTrait-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.
ptwm_core::flavor::abi::BenchmarkMetric
crates/ptwm-core/src/flavor/abi.rs:312pub trait BenchmarkMetricptwm_core::flavor::abi::BenchmarkMetricState
crates/ptwm-core/src/flavor/abi.rs:111pub trait BenchmarkMetricStateptwm_core::flavor::abi::ChainBuilder
crates/ptwm-core/src/flavor/abi.rs:224pub trait ChainBuilderptwm_core::flavor::abi::ChainBuilderState
crates/ptwm-core/src/flavor/abi.rs:93pub trait ChainBuilderStateptwm_core::flavor::abi::ChainExplorer
crates/ptwm-core/src/flavor/abi.rs:239pub trait ChainExplorerptwm_core::flavor::abi::ChainExplorerState
crates/ptwm-core/src/flavor/abi.rs:96pub trait ChainExplorerStateptwm_core::flavor::abi::Classifier
crates/ptwm-core/src/flavor/abi.rs:256pub trait Classifierptwm_core::flavor::abi::ClassifierState
crates/ptwm-core/src/flavor/abi.rs:99pub trait ClassifierStateptwm_core::flavor::abi::CodecError
crates/ptwm-core/src/flavor/abi.rs:16pub enum CodecErrorErrors returned across the ABI boundary. The wire encoding maps these to negative i64 return codes.
ptwm_core::flavor::abi::ContainerLayout
crates/ptwm-core/src/flavor/abi.rs:172pub trait ContainerLayoutptwm_core::flavor::abi::ContainerLayoutState
crates/ptwm-core/src/flavor/abi.rs:82pub trait ContainerLayoutStateptwm_core::flavor::abi::ConvertMode
crates/ptwm-core/src/flavor/abi.rs:307pub enum ConvertModeptwm_core::flavor::abi::DeltaScheme
crates/ptwm-core/src/flavor/abi.rs:152pub trait DeltaSchemeptwm_core::flavor::abi::DeltaSchemeState
crates/ptwm-core/src/flavor/abi.rs:79pub trait DeltaSchemeStateptwm_core::flavor::abi::HardwareBackend
crates/ptwm-core/src/flavor/abi.rs:190pub trait HardwareBackendptwm_core::flavor::abi::HardwareBackendState
crates/ptwm-core/src/flavor/abi.rs:85pub trait HardwareBackendStateptwm_core::flavor::abi::IntegrationAdapter
crates/ptwm-core/src/flavor/abi.rs:291pub trait IntegrationAdapterptwm_core::flavor::abi::IntegrationAdapterState
crates/ptwm-core/src/flavor/abi.rs:108pub trait IntegrationAdapterStateptwm_core::flavor::abi::NoState
crates/ptwm-core/src/flavor/abi.rs:70pub struct NoState;ptwm_core::flavor::abi::PlaneCodec
crates/ptwm-core/src/flavor/abi.rs:134pub trait PlaneCodecptwm_core::flavor::abi::PlaneCodecState
crates/ptwm-core/src/flavor/abi.rs:76pub trait PlaneCodecStateptwm_core::flavor::abi::RawBinary
crates/ptwm-core/src/flavor/abi.rs:203pub trait RawBinaryptwm_core::flavor::abi::RawBinaryState
crates/ptwm-core/src/flavor/abi.rs:88pub trait RawBinaryStateptwm_core::flavor::abi::Scorer
crates/ptwm-core/src/flavor/abi.rs:269pub trait Scorerptwm_core::flavor::abi::ScorerState
crates/ptwm-core/src/flavor/abi.rs:102pub trait ScorerStateptwm_core::flavor::abi::TrainingHook
crates/ptwm-core/src/flavor/abi.rs:277pub trait TrainingHookptwm_core::flavor::abi::TrainingHookState
crates/ptwm-core/src/flavor/abi.rs:105pub trait TrainingHookStateptwm_core::flavor::abi::Transform
crates/ptwm-core/src/flavor/abi.rs:116pub trait Transformptwm_core::flavor::abi::TransformState
crates/ptwm-core/src/flavor/abi.rs:73pub trait TransformState