pub trait Evaluate<R>:
Sized
+ Debug
+ 'static {
type Error: Error + Send + Sync + 'static;
// Required methods
fn init(entry: &Entry, store: &R) -> Result<Self, Self::Error>;
fn apply<'a, I: Iterator<Item = (&'a Oid, &'a Entry)>>(
&mut self,
entry: &Entry,
concurrent: I,
store: &R,
) -> Result<(), Self::Error>;
}
Expand description
An object that can be built by evaluating a history.
Required Associated Types§
Required Methods§
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.