pub struct MigrationService<'runtime> {
pub state: &'runtime StateStore,
pub registry: &'runtime Registry<'runtime>,
pub probe: &'runtime dyn ProcessProbe,
}Fields§
§state: &'runtime StateStore§registry: &'runtime Registry<'runtime>§probe: &'runtime dyn ProcessProbeImplementations§
Source§impl MigrationService<'_>
impl MigrationService<'_>
pub async fn run( &self, request: MigrationRequest<'_>, cancel: &CancellationToken, ) -> Result<MigrationSummary, MemoryError>
Auto Trait Implementations§
impl<'runtime> !RefUnwindSafe for MigrationService<'runtime>
impl<'runtime> !UnwindSafe for MigrationService<'runtime>
impl<'runtime> Freeze for MigrationService<'runtime>
impl<'runtime> Send for MigrationService<'runtime>
impl<'runtime> Sync for MigrationService<'runtime>
impl<'runtime> Unpin for MigrationService<'runtime>
impl<'runtime> UnsafeUnpin for MigrationService<'runtime>
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