Struct lru_time_cache::NotifyIter[][src]

pub struct NotifyIter<'a, Key, Value> { /* fields omitted */ }

Much like Iter except will produce expired entries too where Iter silently drops them.

Trait Implementations

impl<'a, Key, Value> Iterator for NotifyIter<'a, Key, Value> where
    Key: Ord + Clone
[src]

type Item = TimedEntry<'a, Key, Value>

The type of the elements being iterated over.

fn next(&mut self) -> Option<Self::Item>[src]

Returns the next element in the cache and moves it to the top of the cache. The most recently used items are yield first.

Auto Trait Implementations

impl<'a, Key, Value> RefUnwindSafe for NotifyIter<'a, Key, Value> where
    Key: RefUnwindSafe,
    Value: RefUnwindSafe
[src]

impl<'a, Key, Value> Send for NotifyIter<'a, Key, Value> where
    Key: Send,
    Value: Send
[src]

impl<'a, Key, Value> Sync for NotifyIter<'a, Key, Value> where
    Key: Sync,
    Value: Sync
[src]

impl<'a, Key, Value> Unpin for NotifyIter<'a, Key, Value>[src]

impl<'a, Key, Value> !UnwindSafe for NotifyIter<'a, Key, Value>[src]

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.