Trait swh_graph::properties::Strings
source · pub trait Strings {
type Offsets<'a>: GetIndex<Output = u64> + 'a
where Self: 'a;
// Required methods
fn message(&self) -> &[u8] ⓘ;
fn message_offset(&self) -> Self::Offsets<'_>;
fn tag_name(&self) -> &[u8] ⓘ;
fn tag_name_offset(&self) -> Self::Offsets<'_>;
}
Expand description
Trait for backend storage of string properties (either in-memory or memory-mapped)
Required Associated Types§
Required Methods§
fn message(&self) -> &[u8] ⓘ
fn message_offset(&self) -> Self::Offsets<'_>
fn tag_name(&self) -> &[u8] ⓘ
fn tag_name_offset(&self) -> Self::Offsets<'_>
Object Safety§
This trait is not object safe.