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]
V::Validation: Debug,
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]
V::Validation: Eq,
impl<V: CmRDT + Debug, A: Debug> Error for CmRDTValidation<V, A>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<V: PartialEq + CmRDT, A: PartialEq> PartialEq<CmRDTValidation<V, A>> for CmRDTValidation<V, A> where
V::Validation: PartialEq,
[src]
V::Validation: PartialEq,
fn eq(&self, other: &CmRDTValidation<V, A>) -> bool
[src]
fn ne(&self, other: &CmRDTValidation<V, A>) -> bool
[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,
A: RefUnwindSafe,
<V as CmRDT>::Validation: RefUnwindSafe,
impl<V, A> Send for CmRDTValidation<V, A> where
A: Send,
<V as CmRDT>::Validation: Send,
A: Send,
<V as CmRDT>::Validation: Send,
impl<V, A> Sync for CmRDTValidation<V, A> where
A: Sync,
<V as CmRDT>::Validation: Sync,
A: Sync,
<V as CmRDT>::Validation: Sync,
impl<V, A> Unpin for CmRDTValidation<V, A> where
A: Unpin,
<V as CmRDT>::Validation: Unpin,
A: Unpin,
<V as CmRDT>::Validation: Unpin,
impl<V, A> UnwindSafe for CmRDTValidation<V, A> where
A: UnwindSafe,
<V as CmRDT>::Validation: UnwindSafe,
A: UnwindSafe,
<V as CmRDT>::Validation: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,