pub trait Q42SegmentRangeFactory {
type Source: Q42RangeSource;
// Required method
fn open_segment(&self, segment: &Q42VolumeSegment) -> Result<Self::Source>;
}Expand description
Opens an immutable child source identified by the front-embedded manifest. Construction may allocate; all subsequent block reads remain caller-buffered.
Required Associated Types§
type Source: Q42RangeSource
Required Methods§
fn open_segment(&self, segment: &Q42VolumeSegment) -> Result<Self::Source>
Implementors§
Source§impl Q42SegmentRangeFactory for IpfsGatewaySegmentFactory
Available on non-WebAssembly only.
impl Q42SegmentRangeFactory for IpfsGatewaySegmentFactory
Available on non-WebAssembly only.