ptwm_core
ptwm_core::codec
ptwm_core::codec
ptwm_core::codec
crates/ptwm-core/src/codec.rs:1mod codecptwm_core::codec::codec_for
crates/ptwm-core/src/codec.rs:177pub fn codec_for(id: CodecId) -> Option<Box<dyn ?>>Look up a codec by id. Returns `None` for unregistered ids; the container-open path should have rejected those already.
ptwm_core::codec::CodecId
crates/ptwm-core/src/codec.rs:5pub enum CodecIdStable codec identifier in the `.ptwm` registry. Values carry documented stewardship ranges.
ptwm_core::codec::Encoded
crates/ptwm-core/src/codec.rs:105pub struct EncodedOutput of an encode call: the encoded state bytes (if any) plus the encoded payload.
ptwm_core::codec::PlaneCodec
crates/ptwm-core/src/codec.rs:112pub trait PlaneCodecPlane codec contract.
ptwm_core::codec::REGISTRY
crates/ptwm-core/src/codec.rs:28pub const REGISTRYEvery wire id paired with its canonical lowercase name. Single source of truth for the Python-side `CodecId` IntEnum mirror — the Python test asserts membership against this list at runtime.
ptwm_core::codec::StateSource
crates/ptwm-core/src/codec.rs:79pub enum StateSource