Enum crdts::map::CmRDTValidation[][src]

pub enum CmRDTValidation<V: CmRDT, A> {
    SourceOrder(DotRange<A>),
    Value(V::Validation),
}

The various validation errors that may occur when using a Map CRDT.

Variants

SourceOrder(DotRange<A>)

We are missing dots specified in the DotRange

Value(V::Validation)

There is a validation error in the nested CRDT.

Trait Implementations

impl<V: Debug + CmRDT, A: Debug> Debug for CmRDTValidation<V, A> where
    V::Validation: Debug
[src]

impl<V: CmRDT + Debug, A: Debug> Display for CmRDTValidation<V, A>[src]

impl<V: Eq + CmRDT, A: Eq> Eq for CmRDTValidation<V, A> where
    V::Validation: Eq
[src]

impl<V: CmRDT + Debug, A: Debug> Error for CmRDTValidation<V, A>[src]

impl<V: PartialEq + CmRDT, A: PartialEq> PartialEq<CmRDTValidation<V, A>> for CmRDTValidation<V, A> where
    V::Validation: PartialEq
[src]

impl<V: CmRDT, A> StructuralEq for CmRDTValidation<V, A>[src]

impl<V: CmRDT, A> StructuralPartialEq for CmRDTValidation<V, A>[src]

Auto Trait Implementations

impl<V, A> RefUnwindSafe for CmRDTValidation<V, A> where
    A: RefUnwindSafe,
    <V as CmRDT>::Validation: RefUnwindSafe

impl<V, A> Send for CmRDTValidation<V, A> where
    A: Send,
    <V as CmRDT>::Validation: Send

impl<V, A> Sync for CmRDTValidation<V, A> where
    A: Sync,
    <V as CmRDT>::Validation: Sync

impl<V, A> Unpin for CmRDTValidation<V, A> where
    A: Unpin,
    <V as CmRDT>::Validation: Unpin

impl<V, A> UnwindSafe for CmRDTValidation<V, A> where
    A: UnwindSafe,
    <V as CmRDT>::Validation: 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> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,