[−][src]Struct rdms::no_disk::NoDisk
NoDisk type denotes empty Disk type. Applications can use this
type while instantiating rdms-index
in mem-only mode.
Trait Implementations
impl<K, V> Footprint for NoDisk<K, V>
[src]
impl<K, V> Index<K, V> for NoDisk<K, V> where
K: Clone + Ord + Footprint,
V: Clone + Diff + Footprint,
[src]
K: Clone + Ord + Footprint,
V: Clone + Diff + Footprint,
type W = NoDisk<K, V>
A writer type, that can ingest key-value pairs, associated with this index. Read more
type R = NoDisk<K, V>
A writer type, that can ingest key-value pairs, associated with this index. Read more
fn make_new(&self) -> Result<Box<Self>>
[src]
fn to_reader(&mut self) -> Result<Self::R>
[src]
fn to_writer(&mut self) -> Result<Self::W>
[src]
impl<K, V> Reader<K, V> for NoDisk<K, V> where
K: Clone + Ord,
V: Clone + Diff,
[src]
K: Clone + Ord,
V: Clone + Diff,
fn get<Q: ?Sized>(&self, _key: &Q) -> Result<Entry<K, V>> where
K: Borrow<Q>,
Q: Ord,
[src]
K: Borrow<Q>,
Q: Ord,
fn iter(&self) -> Result<IndexIter<K, V>>
[src]
fn range<'a, R, Q: ?Sized>(&'a self, _range: R) -> Result<IndexIter<K, V>> where
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
[src]
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
fn reverse<'a, R, Q: ?Sized>(&'a self, _range: R) -> Result<IndexIter<K, V>> where
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
[src]
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
fn get_with_versions<Q: ?Sized>(&self, _key: &Q) -> Result<Entry<K, V>> where
K: Borrow<Q>,
Q: Ord,
[src]
K: Borrow<Q>,
Q: Ord,
fn iter_with_versions(&self) -> Result<IndexIter<K, V>>
[src]
fn range_with_versions<'a, R, Q: ?Sized>(
&self,
_range: R
) -> Result<IndexIter<K, V>> where
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
[src]
&self,
_range: R
) -> Result<IndexIter<K, V>> where
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
fn reverse_with_versions<'a, R, Q: ?Sized>(
&self,
_rng: R
) -> Result<IndexIter<K, V>> where
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
[src]
&self,
_rng: R
) -> Result<IndexIter<K, V>> where
K: Borrow<Q>,
R: 'a + RangeBounds<Q>,
Q: 'a + Ord,
impl<K, V> Writer<K, V> for NoDisk<K, V> where
K: Clone + Ord + Footprint,
V: Clone + Diff + Footprint,
[src]
K: Clone + Ord + Footprint,
V: Clone + Diff + Footprint,
Auto Trait Implementations
impl<K, V> Send for NoDisk<K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<K, V> Sync for NoDisk<K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<K, V> Unpin for NoDisk<K, V> where
K: Unpin,
V: Unpin,
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for NoDisk<K, V> where
K: UnwindSafe,
V: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
impl<K, V> RefUnwindSafe for NoDisk<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,