Skip to main content

unique_slug_async

Function unique_slug_async 

Source
pub async fn unique_slug_async<F, Fut>(input: &str, is_taken: F) -> String
where F: FnMut(String) -> Fut, Fut: Future<Output = bool>,
Expand description

Async variant of unique_slug for DB-backed uniqueness checks.