pub trait OptPersons: MaybePersons + PropertiesBackend {
type PersonIds<'a>: GetIndex<Output = u32>
where Self: 'a;
// Required methods
fn author_id(&self) -> PropertiesResult<'_, Self::PersonIds<'_>, Self>;
fn committer_id(&self) -> PropertiesResult<'_, Self::PersonIds<'_>, Self>;
}
Expand description
Trait for backend storage of person properties (either in-memory or memory-mapped)
Required Associated Types§
Required Methods§
fn committer_id(&self) -> PropertiesResult<'_, Self::PersonIds<'_>, Self>
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.