Skip to main content

attempt

Function attempt 

Source
pub async fn attempt(
    form: &'static Form,
    user_id: Uuid,
    pairs: Vec<(String, String)>,
) -> Result<Attempt, WebError>
Expand description

Submit the posted pairs of form; field errors come back as Attempt::Rejected.