pub enum TreeChunk {
Leaf(Leaf),
Internal(Internal),
}Expand description
A Prolly tree chunk on the wire - either a leaf or an internal node.
Variants§
Leaf(Leaf)
A leaf chunk carrying (key, value) entries.
Internal(Internal)
An internal chunk carrying separator keys and child pointers.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TreeChunk
impl<'de> Deserialize<'de> for TreeChunk
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TreeChunk
impl StructuralPartialEq for TreeChunk
Auto Trait Implementations§
impl Freeze for TreeChunk
impl RefUnwindSafe for TreeChunk
impl Send for TreeChunk
impl Sync for TreeChunk
impl Unpin for TreeChunk
impl UnsafeUnpin for TreeChunk
impl UnwindSafe for TreeChunk
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