Struct radixdb::node::IdentityConverter
source · [−]pub struct IdentityConverter;
Expand description
Identity node converter to simplify plumbing
Trait Implementations
sourceimpl Clone for IdentityConverter
impl Clone for IdentityConverter
sourcefn clone(&self) -> IdentityConverter
fn clone(&self) -> IdentityConverter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<A: BlobStore> NodeConverter<A, A> for IdentityConverter
impl<A: BlobStore> NodeConverter<A, A> for IdentityConverter
fn convert_node(
&self,
node: &TreeNodeRef<'_, A>,
_store: &A
) -> Result<TreeNode<A>, A::Error>
fn convert_node_shortened(
&self,
node: &TreeNodeRef<'_, A>,
store: &A,
n: usize
) -> Result<TreeNode<A>, A::Error>
fn convert_value(
&self,
bv: &ValueRef<'_, A>,
_store: &A
) -> Result<Value<A>, A::Error>
impl Copy for IdentityConverter
Auto Trait Implementations
impl RefUnwindSafe for IdentityConverter
impl Send for IdentityConverter
impl Sync for IdentityConverter
impl Unpin for IdentityConverter
impl UnwindSafe for IdentityConverter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more