pub trait SegmentSource:
'static
+ Send
+ Sync {
// Required method
fn request(&self, id: SegmentId, for_whom: &Arc<str>) -> SegmentFuture;
}Expand description
A trait for providing segment data to a crate::LayoutReader.
pub trait SegmentSource:
'static
+ Send
+ Sync {
// Required method
fn request(&self, id: SegmentId, for_whom: &Arc<str>) -> SegmentFuture;
}A trait for providing segment data to a crate::LayoutReader.