Enum oasis_core_runtime::storage::mkvs::NodeBox
source · pub enum NodeBox {
Internal(InternalNode),
Leaf(LeafNode),
}
Expand description
A box type that can contain either internal or leaf nodes.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for NodeBox
impl PartialEq for NodeBox
impl Eq for NodeBox
impl StructuralPartialEq for NodeBox
Auto Trait Implementations§
impl Freeze for NodeBox
impl !RefUnwindSafe for NodeBox
impl !Send for NodeBox
impl !Sync for NodeBox
impl Unpin for NodeBox
impl !UnwindSafe for NodeBox
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.