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