pub struct Partitioned<PA: PartitionedAdapter>(/* private fields */);Expand description
A utility struct that implements BlanketAdapter trait though in terms of PartitionedAdapter.
Trait Implementations§
Source§impl<PA: PartitionedAdapter> BlanketAdapter for Partitioned<PA>
impl<PA: PartitionedAdapter> BlanketAdapter for Partitioned<PA>
type Target = PA
fn write_state<S: State>(target: &PA, state: &S) -> Result<(), JoydbError>
fn load_state<S: State>(target: &PA) -> Result<S, JoydbError>
Auto Trait Implementations§
impl<PA> Freeze for Partitioned<PA>
impl<PA> RefUnwindSafe for Partitioned<PA>where
PA: RefUnwindSafe,
impl<PA> Send for Partitioned<PA>where
PA: Send,
impl<PA> Sync for Partitioned<PA>where
PA: Sync,
impl<PA> Unpin for Partitioned<PA>where
PA: Unpin,
impl<PA> UnwindSafe for Partitioned<PA>where
PA: UnwindSafe,
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