Struct async_map::VersionedMap [−][src]
pub struct VersionedMap<K: KeyTrait, V: ValueTrait> { /* fields omitted */ }
Implementations
impl<K: KeyTrait, V: ValueTrait> VersionedMap<K, V>
[src]
impl<K: KeyTrait, V: ValueTrait> VersionedMap<K, V>
[src]Trait Implementations
impl<K: KeyTrait, V: ValueTrait> AsyncMap for VersionedMap<K, V>
[src]
impl<K: KeyTrait, V: ValueTrait> AsyncMap for VersionedMap<K, V>
[src]fn get_if_present(&self, key: &Self::Key) -> Option<Self::Value>
[src]
fn get_if_present(&self, key: &Self::Key) -> Option<Self::Value>
[src]Synchronously returns the value associated with the provided key, if present; otherwise None
impl<K: KeyTrait, V: ValueTrait> Clone for VersionedMap<K, V>
[src]
impl<K: KeyTrait, V: ValueTrait> Clone for VersionedMap<K, V>
[src]Auto Trait Implementations
impl<K, V> !RefUnwindSafe for VersionedMap<K, V>
impl<K, V> Send for VersionedMap<K, V>
impl<K, V> !Sync for VersionedMap<K, V>
impl<K, V> Unpin for VersionedMap<K, V>
impl<K, V> !UnwindSafe for VersionedMap<K, V>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more