[][src]Struct evmap::ReadGuard

pub struct ReadGuard<'rh, T: ?Sized> { /* fields omitted */ }

A guard wrapping a live reference into an evmap.

As long as this guard lives, the map being read cannot change, and if a writer attempts to call [WriteHandle::refresh], that call will block until this guard is dropped.

Trait Implementations

impl<'rh, T: ?Sized> AsRef<T> for ReadGuard<'rh, T>[src]

impl<'rh, T: Debug + ?Sized> Debug for ReadGuard<'rh, T>[src]

impl<'rh, T: ?Sized> Deref for ReadGuard<'rh, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'rh, T: ?Sized> Drop for ReadGuard<'rh, T>[src]

impl<'rh, T, S> IntoIterator for &'rh ReadGuard<'rh, Values<T, S>>[src]

type Item = &'rh T

The type of the elements being iterated over.

type IntoIter = ValuesIter<'rh, T, S>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'rh, T: ?Sized> RefUnwindSafe for ReadGuard<'rh, T> where
    T: RefUnwindSafe

impl<'rh, T: ?Sized> Send for ReadGuard<'rh, T> where
    T: Sync

impl<'rh, T: ?Sized> Sync for ReadGuard<'rh, T> where
    T: Sync

impl<'rh, T: ?Sized> Unpin for ReadGuard<'rh, T>

impl<'rh, T: ?Sized> UnwindSafe for ReadGuard<'rh, T> where
    T: RefUnwindSafe

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, 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.