Trait miden_crypto::utils::collections::TryApplyDiff
source · pub trait TryApplyDiff<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.