Trait radicle_cob::object::collaboration::Evaluate
source · 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§
Object Safety§
This trait is not object safe.