pub trait TextCodec: Harness + Sized {
// Required methods
fn from_text(text: &str) -> Result<Transcript<Self>>;
fn to_text(transcript: &Transcript<Self>) -> Result<String>;
}Expand description
Parsing and rendering a harness’s native session text, free of any
filesystem or database. Store layers location on top of it; the WASM
bindings use it directly.
Required Methods§
Sourcefn from_text(text: &str) -> Result<Transcript<Self>>
fn from_text(text: &str) -> Result<Transcript<Self>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".