pub enum Under<'a> {
Prefix,
Entry(Level<'a>),
Deeper(Level<'a>),
Outside,
}Expand description
Where a key read back from a store sits relative to the prefix it was scanned from.
Variants§
Prefix
The key is the prefix itself.
Entry(Level<'a>)
The key is exactly one level below, named here.
Deeper(Level<'a>)
The key is more than one level below. The name is the level directly under the prefix; the rest of the key is inside it.
Outside
The key is not under the prefix.
Trait Implementations§
impl<'a> Eq for Under<'a>
impl<'a> StructuralPartialEq for Under<'a>
Auto Trait Implementations§
impl<'a> Freeze for Under<'a>
impl<'a> RefUnwindSafe for Under<'a>
impl<'a> Send for Under<'a>
impl<'a> Sync for Under<'a>
impl<'a> Unpin for Under<'a>
impl<'a> UnsafeUnpin for Under<'a>
impl<'a> UnwindSafe for Under<'a>
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