[][src]Struct rbatis_core::sync::sync_map::Ref

pub struct Ref<'a, K, V> where
    K: Eq + Hash
{ /* fields omitted */ }

Implementations

impl<'a, K, V> Ref<'a, K, V> where
    K: Eq + Hash
[src]

pub fn new(
    guard: RwLockReadGuard<'a, HashMap<K, V, RandomState>>,
    v: Option<&'a V>
) -> Self
[src]

pub fn value(&self) -> &V[src]

Trait Implementations

impl<'a, K: Debug, V: Debug> Debug for Ref<'a, K, V> where
    K: Eq + Hash
[src]

impl<'a, K: Eq + Hash, V> Deref for Ref<'a, K, V>[src]

type Target = V

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a, K, V> !RefUnwindSafe for Ref<'a, K, V>

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

impl<'a, K, V> Sync for Ref<'a, K, V> where
    K: Sync,
    V: Sync

impl<'a, K, V> Unpin for Ref<'a, K, V>

impl<'a, K, V> !UnwindSafe for Ref<'a, K, V>

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,