Function uploads_im_client::upload [] [src]

pub fn upload<P: AsRef<Path>>(
    file_path: P,
    options: &UploadOptions
) -> Result<UploadedImage, UploadError>

Uploads an image file denoted by file_path using the given options to the Uploads.im image upload API.