Struct radixdb::node::DetachConverter
source · [−]pub struct DetachConverter;
Expand description
A converter that converts from one store to another store by just completely detaching it
Trait Implementations
sourceimpl Clone for DetachConverter
impl Clone for DetachConverter
sourcefn clone(&self) -> DetachConverter
fn clone(&self) -> DetachConverter
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, B: BlobStore> NodeConverter<A, B> for DetachConverter
impl<A: BlobStore, B: BlobStore> NodeConverter<A, B> for DetachConverter
fn convert_node(
&self,
node: &TreeNodeRef<'_, A>,
store: &A
) -> Result<TreeNode<B>, A::Error>
fn convert_value(
&self,
value: &ValueRef<'_, A>,
store: &A
) -> Result<Value<B>, A::Error>
fn convert_node_shortened(
&self,
node: &TreeNodeRef<'_, A>,
store: &A,
n: usize
) -> Result<TreeNode<B>, A::Error>
impl Copy for DetachConverter
Auto Trait Implementations
impl RefUnwindSafe for DetachConverter
impl Send for DetachConverter
impl Sync for DetachConverter
impl Unpin for DetachConverter
impl UnwindSafe for DetachConverter
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