Enum zkstate::ChangeType [−][src]
Identifies a type of change at a given Key path, for use with the Recorder
.
The Key path is followed to know what happened with the Value V
contained in the variants.
Variants
The Value was removed
The Value was added
No change was performed to the Value
The first Value was modified and became the second Value
Trait Implementations
impl<'a, K, V> Debug for ChangeType<'a, K, V> where
K: Debug,
V: 'a + Debug,
[src]
K: Debug,
V: 'a + Debug,
impl<'a, K, V> PartialEq<ChangeType<'a, K, V>> for ChangeType<'a, K, V> where
K: PartialEq<K>,
V: 'a + PartialEq<V>,
[src]
K: PartialEq<K>,
V: 'a + PartialEq<V>,
pub fn eq(&self, other: &ChangeType<'a, K, V>) -> bool
[src]
pub fn ne(&self, other: &ChangeType<'a, K, V>) -> bool
[src]
impl<'a, K, V> StructuralPartialEq for ChangeType<'a, K, V> where
V: 'a,
[src]
V: 'a,
Auto Trait Implementations
impl<'a, K, V> RefUnwindSafe for ChangeType<'a, K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for ChangeType<'a, K, V> where
K: Send,
V: Sync,
K: Send,
V: Sync,
impl<'a, K, V> Sync for ChangeType<'a, K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<'a, K, V> Unpin for ChangeType<'a, K, V> where
K: Unpin,
K: Unpin,
impl<'a, K, V> UnwindSafe for ChangeType<'a, K, V> where
K: UnwindSafe,
V: RefUnwindSafe,
K: UnwindSafe,
V: RefUnwindSafe,
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, 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>,