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 for FinalizationResult<V>
impl<V: PartialEq> PartialEq 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 ==
.impl<V> StructuralPartialEq for FinalizationResult<V>
Auto Trait Implementations§
impl<V> Freeze for FinalizationResult<V>where
V: Freeze,
impl<V> RefUnwindSafe for FinalizationResult<V>where
V: RefUnwindSafe,
impl<V> Send for FinalizationResult<V>where
V: Send,
impl<V> Sync for FinalizationResult<V>where
V: Sync,
impl<V> Unpin for FinalizationResult<V>where
V: Unpin,
impl<V> UnwindSafe for FinalizationResult<V>where
V: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more