/// Obtains a migration state through API.
Obtains a migration state through API.
Obtains a migration state through API .
fn migration_state(api: &TestKitApi, request: MigrationRequest) -> MigrationState {
    let query: MigrationInfoQuery = request.into();
    api.private(ApiKind::Service("supervisor"))
        .query(&query)
        .get("migration-status")
        .unwrap()
}
fn migration_state ( api : & TestKitApi , request : MigrationRequest ) -> MigrationState { let query : MigrationInfoQuery = request . into ( ) ; api . private ( ApiKind :: Service ( " " ) ) . query ( & query ) . get ( " " ) . unwrap ( ) }
Obtains a migration state through API.
Obtains a migration state through API .
api
&TestKitApi
request
MigrationRequest