pub struct MigrationExecutor { /* private fields */ }Expand description
Executes migration plans against a source and target Docker daemon.
Implementations§
Source§impl MigrationExecutor
impl MigrationExecutor
Sourcepub fn new(target: DockerCliRunner) -> Self
pub fn new(target: DockerCliRunner) -> Self
Creates an executor for the provided ArcBox target socket.
Sourcepub async fn execute<F>(
&self,
source: SourceConfig,
plan: &MigrationPlan,
options: MigrationExecutorOptions,
progress: F,
) -> Result<()>where
F: FnMut(MigrationProgress),
pub async fn execute<F>(
&self,
source: SourceConfig,
plan: &MigrationPlan,
options: MigrationExecutorOptions,
progress: F,
) -> Result<()>where
F: FnMut(MigrationProgress),
Executes a migration plan.
Trait Implementations§
Source§impl Clone for MigrationExecutor
impl Clone for MigrationExecutor
Source§fn clone(&self) -> MigrationExecutor
fn clone(&self) -> MigrationExecutor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MigrationExecutor
impl RefUnwindSafe for MigrationExecutor
impl Send for MigrationExecutor
impl Sync for MigrationExecutor
impl Unpin for MigrationExecutor
impl UnsafeUnpin for MigrationExecutor
impl UnwindSafe for MigrationExecutor
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