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<'_>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.