pub struct Shard<'g, 'k, K: Key, V, R> { /* private fields */ }Expand description
Immutable reference to a subtree rooted at a key prefix, optionally bounded by a key range.
Implementations§
Auto Trait Implementations§
impl<'g, 'k, K, V, R> !Send for Shard<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> !Sync for Shard<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> Freeze for Shard<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> RefUnwindSafe for Shard<'g, 'k, K, V, R>where
<K as Key>::Read<'k>: RefUnwindSafe,
R: RefUnwindSafe,
V: RefUnwindSafe,
<K as Key>::Edge: RefUnwindSafe,
impl<'g, 'k, K, V, R> Unpin for Shard<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> UnsafeUnpin for Shard<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> UnwindSafe for Shard<'g, 'k, K, V, R>where
<K as Key>::Read<'k>: UnwindSafe,
R: UnwindSafe,
V: RefUnwindSafe,
<K as Key>::Edge: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more