Trait miden_core::utils::collections::TryApplyDiff
source · pub trait TryApplyDiff<K, V>where
K: Ord + Clone,
V: Clone,{
type DiffType;
type Error;
// Required method
fn try_apply(&mut self, diff: Self::DiffType) -> Result<(), Self::Error>;
}Expand description
A trait for applying the difference between two objects with the possibility of failure.