pub trait LegacyViewable {
// Required methods
fn output<U: DeserializeOwned>(&self) -> Result<U, IOError>;
fn logs(&self) -> &Vec<String>;
}
Expand description
A view capturing the output of the machine.
Required Methods§
Sourcefn output<U: DeserializeOwned>(&self) -> Result<U, IOError>
fn output<U: DeserializeOwned>(&self) -> Result<U, IOError>
Get the contents of the output tape written by the zkVM execution by deserializing the output tape as of type U
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.