[][src]Enum futures_signals::signal_map::MapDiff

pub enum MapDiff<K, V> {
    Replace {
        entries: Vec<(K, V)>,
    },
    Insert {
        key: K,
        value: V,
    },
    Update {
        key: K,
        value: V,
    },
    Remove {
        key: K,
    },
    Clear {},
}

Variants

Replace

Fields of Replace

entries: Vec<(K, V)>
Insert

Fields of Insert

key: Kvalue: V
Update

Fields of Update

key: Kvalue: V
Remove

Fields of Remove

key: K
Clear

Fields of Clear

Trait Implementations

impl<K: Clone, V: Clone> Clone for MapDiff<K, V>[src]

impl<K: Debug, V: Debug> Debug for MapDiff<K, V>[src]

impl<K: Eq, V: Eq> Eq for MapDiff<K, V>[src]

impl<K: PartialEq, V: PartialEq> PartialEq<MapDiff<K, V>> for MapDiff<K, V>[src]

impl<K, V> StructuralEq for MapDiff<K, V>[src]

impl<K, V> StructuralPartialEq for MapDiff<K, V>[src]

Auto Trait Implementations

impl<K, V> RefUnwindSafe for MapDiff<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V> Send for MapDiff<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for MapDiff<K, V> where
    K: Sync,
    V: Sync

impl<K, V> Unpin for MapDiff<K, V> where
    K: Unpin,
    V: Unpin

impl<K, V> UnwindSafe for MapDiff<K, V> where
    K: UnwindSafe,
    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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.