Enum fork_tree::FinalizationResult
source · pub enum FinalizationResult<V> {
Changed(Option<V>),
Unchanged,
}
Expand description
Result of finalizing a node (that could be a part of the tree or not).
Variants§
Changed(Option<V>)
The tree has changed, optionally return the value associated with the finalized node.
Unchanged
The tree has not changed.
Trait Implementations§
source§impl<V: Debug> Debug for FinalizationResult<V>
impl<V: Debug> Debug for FinalizationResult<V>
source§impl<V: PartialEq> PartialEq<FinalizationResult<V>> for FinalizationResult<V>
impl<V: PartialEq> PartialEq<FinalizationResult<V>> for FinalizationResult<V>
source§fn eq(&self, other: &FinalizationResult<V>) -> bool
fn eq(&self, other: &FinalizationResult<V>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.