[][src]Enum fork_tree::FinalizationResult

pub enum FinalizationResult<V> {
    Changed(Option<V>),
    Unchanged,
}

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

impl<V: Debug> Debug for FinalizationResult<V>[src]

impl<V: PartialEq> PartialEq<FinalizationResult<V>> for FinalizationResult<V>[src]

impl<V> StructuralPartialEq for FinalizationResult<V>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.