Struct backblaze_b2::raw::upload::UploadFileRequest [] [src]

pub struct UploadFileRequest { /* fields omitted */ }

Contains an ongoing upload to the backblaze b2 api. This struct is created by the create_upload_file_request method.

Methods

impl UploadFileRequest
[src]

Finishes the upload of the file and returns information about the uploaded file.

Errors

This function returns a B2Error in case something goes wrong. Besides the standard errors, this function can fail with is_cap_exceeded, is_invalid_sha1.

Trait Implementations

impl Write for UploadFileRequest
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more