Struct srmap::srmap::ReadHandle[][src]

pub struct ReadHandle<K, V, M = ()> where
    K: Eq + Hash + Debug + Clone,
    V: Eq + Clone,
    M: 'static + Clone
{ /* fields omitted */ }

A handle that may be used to read from the SRMap.

Methods

impl<K, V, M> ReadHandle<K, V, M> where
    K: Eq + Hash + Debug + Clone,
    V: Eq + Clone,
    M: 'static + Clone
[src]

Get the current meta value.

Applies a function to the values corresponding to the key, and returns the result.

Returns the number of non-empty keys present in the map.

Returns true if the map contains no elements.

Applies a function to the values corresponding to the key, and returns the result.

Read all values in the map, and transform them into a new collection.

Trait Implementations

impl<K, V, M> Clone for ReadHandle<K, V, M> where
    K: Eq + Hash + Debug + Clone,
    V: Eq + Clone,
    M: 'static + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<K, V, M> Send for ReadHandle<K, V, M> where
    K: Send + Sync,
    M: Send + Sync,
    V: Send + Sync

impl<K, V, M> Sync for ReadHandle<K, V, M> where
    K: Send + Sync,
    M: Send + Sync,
    V: Send + Sync