pub trait ConfMergable<T, O> {
    type Result;

    fn merge(self, other: O) -> Self::Result;
}

Required Associated Types

Required Methods

Merge two confidence types’ values depending on whichever has higher confidence In the event of a tie, the LHS (caller’s) value is used.

Implementations on Foreign Types

Returns RHS if LHS is None

Option<Conf<T>> + Conf<T>Conf<T>

Returns best non-None value or None

Option<Conf<T>> + Option<Conf<T>>Option<Conf<T>>

Implementors

Returns LHS if RHS is None

Conf<T> + Option<Conf<T>>Conf<T>

Returns best value or LHS on tie

Conf<T> + Conf<T>Conf<T>