(
&self,
program: Program,
old_module_info: Arc<ModuleInfo>,
policy: MigrationPolicy,
)
| 3075 | } |
| 3076 | |
| 3077 | pub async fn update_database( |
| 3078 | &self, |
| 3079 | program: Program, |
| 3080 | old_module_info: Arc<ModuleInfo>, |
| 3081 | policy: MigrationPolicy, |
| 3082 | ) -> Result<UpdateDatabaseResult, anyhow::Error> { |
| 3083 | call_instance!( |
| 3084 | self, |
| 3085 | "<update_database>", |
| 3086 | (program, old_module_info, policy), |
| 3087 | |(a, b, c), inst| inst.update_database(a, b, c), |
| 3088 | |(a, b, c), inst| inst.update_database(a, b, c).await, |
| 3089 | )? |
| 3090 | } |
| 3091 | |
| 3092 | pub async fn exit(&self) { |
| 3093 | // As in `Self::marked_closed`, `Relaxed` is sufficient because we're not synchronizing any external state. |
nothing calls this directly
no outgoing calls
no test coverage detected