surrealdb::idx::trees::store

Trait TreeNode

Source
pub trait TreeNode
where Self: Sized,
{ // Required methods fn try_from_val(val: Val) -> Result<Self, Error>; fn try_into_val(&mut self) -> Result<Val, Error>; }

Required Methods§

Source

fn try_from_val(val: Val) -> Result<Self, Error>

Source

fn try_into_val(&mut self) -> Result<Val, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl TreeNode for MTreeNode

Source§

impl<BK> TreeNode for BTreeNode<BK>
where BK: BKeys,