[][src]Struct flurry::TryInsertError

pub struct TryInsertError<'a, V> {
    pub current: &'a V,
    pub not_inserted: V,
}

The error type for the HashMap::try_insert method.

Fields

current: &'a V

A reference to the current value mapped to the key.

not_inserted: V

The value that HashMap::try_insert failed to insert.

Trait Implementations

impl<'a, V: Clone> Clone for TryInsertError<'a, V>[src]

impl<'a, V: Copy> Copy for TryInsertError<'a, V>[src]

impl<'a, V: Debug> Debug for TryInsertError<'a, V>[src]

impl<'a, V> Display for TryInsertError<'a, V> where
    V: Debug
[src]

impl<'a, V: Eq> Eq for TryInsertError<'a, V>[src]

impl<'a, V> Error for TryInsertError<'a, V> where
    V: Debug
[src]

impl<'a, V: PartialEq> PartialEq<TryInsertError<'a, V>> for TryInsertError<'a, V>[src]

impl<'a, V> StructuralEq for TryInsertError<'a, V>[src]

impl<'a, V> StructuralPartialEq for TryInsertError<'a, V>[src]

Auto Trait Implementations

impl<'a, V> RefUnwindSafe for TryInsertError<'a, V> where
    V: RefUnwindSafe

impl<'a, V> Send for TryInsertError<'a, V> where
    V: Send + Sync

impl<'a, V> Sync for TryInsertError<'a, V> where
    V: Sync

impl<'a, V> Unpin for TryInsertError<'a, V> where
    V: Unpin

impl<'a, V> UnwindSafe for TryInsertError<'a, V> where
    V: RefUnwindSafe + 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> 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.