upload_file_data

Function upload_file_data 

Source
pub async fn upload_file_data(
    client: &Client,
    storage_zone: StorageZone,
    zone_name: &str,
    dest: &str,
    content: Vec<u8>,
    expected_sha256: Option<String>,
) -> APIResult<(), Error>
Expand description

Upload bytes to the given Storage Zone.

ยงErrors

  • Failure to send the request
  • Error response from the server