Trait risc0_zkvm::SegmentRef
source · pub trait SegmentRef: Send + Serialize + Deserialize {
// Required method
fn resolve(&self) -> Result<Segment>;
}
Expand description
A reference to a Segment.
This allows implementors to determine the best way to represent this in an pluggable manner. See the SimpleSegmentRef for a very basic implmentation.