Trait swh_graph::properties::Contents
source · pub trait Contents {
type Data<'a>: GetIndex<Output = u64> + 'a
where Self: 'a;
// Required methods
fn is_skipped_content(&self) -> Self::Data<'_>;
fn content_length(&self) -> Self::Data<'_>;
}
Expand description
Trait for backend storage of content properties (either in-memory or memory-mapped)
Required Associated Types§
Required Methods§
fn is_skipped_content(&self) -> Self::Data<'_>
fn content_length(&self) -> Self::Data<'_>
Object Safety§
This trait is not object safe.