pub struct MigrationPlanner { /* private fields */ }Expand description
Builds migration plans from source and target Docker daemons.
Implementations§
Source§impl MigrationPlanner
impl MigrationPlanner
Sourcepub fn new(target: DockerCliRunner) -> Self
pub fn new(target: DockerCliRunner) -> Self
Creates a planner for the provided ArcBox target socket.
Sourcepub async fn plan(&self, source: SourceConfig) -> Result<MigrationPlan>
pub async fn plan(&self, source: SourceConfig) -> Result<MigrationPlan>
Plans a migration from the provided source into the configured target.
Trait Implementations§
Source§impl Clone for MigrationPlanner
impl Clone for MigrationPlanner
Source§fn clone(&self) -> MigrationPlanner
fn clone(&self) -> MigrationPlanner
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 MigrationPlanner
impl RefUnwindSafe for MigrationPlanner
impl Send for MigrationPlanner
impl Sync for MigrationPlanner
impl Unpin for MigrationPlanner
impl UnsafeUnpin for MigrationPlanner
impl UnwindSafe for MigrationPlanner
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