pub enum Located<E> {
Entry(E),
InSubtree(Cid),
}Expand description
The location of an entry in a Merkle Search Tree.
Variants§
Entry(E)
The tree entry corresponding to a key.
InSubtree(Cid)
The CID of the [Node] containing the sub-tree in which a key is located.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Located<E>where
E: Freeze,
impl<E> RefUnwindSafe for Located<E>where
E: RefUnwindSafe,
impl<E> Send for Located<E>where
E: Send,
impl<E> Sync for Located<E>where
E: Sync,
impl<E> Unpin for Located<E>where
E: Unpin,
impl<E> UnwindSafe for Located<E>where
E: UnwindSafe,
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