pub struct Loader<M: Migrator<V>, V: VersionControlled, P: Persistor<V>> {
pub inner: Arc<RwLock<V>>,
pub migrator: M,
pub persistor: P,
}Fields§
§inner: Arc<RwLock<V>>§migrator: M§persistor: PImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<M, V, P> !RefUnwindSafe for Loader<M, V, P>
impl<M, V, P> !UnwindSafe for Loader<M, V, P>
impl<M, V, P> Freeze for Loader<M, V, P>
impl<M, V, P> Send for Loader<M, V, P>
impl<M, V, P> Sync for Loader<M, V, P>
impl<M, V, P> Unpin for Loader<M, V, P>
impl<M, V, P> UnsafeUnpin for Loader<M, V, P>
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