pub trait SegmentRef: Send {
// Required method
fn resolve(&self) -> Result<Segment>;
}
Available on crate feature
prove
and non-target_os="zkvm"
only.Expand description
A reference to a Segment.
This allows implementers to determine the best way to represent this in an pluggable manner. See the SimpleSegmentRef for a very basic implementation.