SegmentRef

Trait SegmentRef 

Source
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.

Required Methods§

Source

fn resolve(&self) -> Result<Segment>

Resolve this reference into an actual Segment.

Implementors§