async fn upload_field_to_storage(
conn: &mut PgConnection,
path: &Path,
field: Field,
file_store: &dyn FileStore,
uploader: Option<AuthUser>,
) -> Result<(), ControllerError>
Expand description
Uploads the data from the multipart field
to the given path
in file storage.