Skip to main content

await_admin_exit

Function await_admin_exit 

Source
pub async fn await_admin_exit(task: JoinHandle<Result<()>>) -> Result<()>
Expand description

Wait for a supervised admin task, treating every terminal outcome as an error.

ยงErrors

Returns the server error, join error, or an unexpected clean-exit error.