Skip to main content

run_destroy

Function run_destroy 

Source
pub async fn run_destroy<M: Callbacks>(
    model: &mut M,
    persist: impl AsyncFnOnce(&mut M) -> Result<()>,
) -> Result<()>
Expand description

Destroy: before_destroy → persist → after_destroy.