Struct buildsrs_registry_sync::Syncer
source · pub struct Syncer { /* private fields */ }
Expand description
Synchronize a package registry with the database.
Implementations§
source§impl Syncer
impl Syncer
sourcepub fn new(database: AnyMetadata, index: GitIndex) -> Self
pub fn new(database: AnyMetadata, index: GitIndex) -> Self
Create new instance, given a database connection and a [GitIndex
].
Auto Trait Implementations§
impl !RefUnwindSafe for Syncer
impl Send for Syncer
impl Sync for Syncer
impl Unpin for Syncer
impl !UnwindSafe for Syncer
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