Skip to main content

available_handles

Function available_handles 

Source
pub async fn available_handles<Context>(
    context: &Context,
    input: &str,
) -> Result<Vec<Handle>, IdentityUpdateError>
where Context: IdentityContext,
Expand description

The handles for input that no inbox holds. input is a handle as a user typed it; its ASCII capitals become lowercase. Input with a code checks only that handle. A name without a code checks the name and HANDLE_SEARCH_CODES distinct random codes in one lookup, and the name comes first in the result. Text outside the handle grammar fails before any request. No policy applies here, so a returned handle can still be refused when it is claimed.