pub struct BlobClient { /* private fields */ }
Expand description

A client for handling blobs

For a full list of operations available on blobs, check out the Azure documentation.

Implementations

Stream a blob in chunks.

By default, blobs are downloaded in 1MB chunks to reduce the impact of intermittent network issues while downloading large blobs.

Return an entire blob.

Get all user-defined metadata, standard HTTP properties, and system properties for the blob.

Set blob properties.

Several properties are cleared from the blob if not passed. Consider calling set_from_blob_properties with existing blob properties.

Get all user-defined metadata for the blob.

Set all user-defined metadata of the blob

Set the access tier on the blob.

Set an expiry time on an existing blob.

This operation is only allowed on Hierarchical Namespace enabled accounts.

ref: https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-expiry

Creates a new page blob.

Creates a new append blob.

Creates a new block blob, or update the content of an existing block blob.

Copy the blob to a destination within the storage account.

Copy the blob to a destination within the storage account synchronously.

Create a lease on the blob to lock for write and delete operations.

End the lease but ensure that another client cannot acquire a new lease until the current lease period has expired.

Delete the blob.

Delete a snapshot of the blob.

Delete the blob at a specific version.

Creates a new block to be committed as part of a block blob.

Retrieve the list of blocks that have been uploaded as part of a block blob.

Retrieve the user-defined tags for the specified blob, version, or snapshot.

Set user-defined tags for the specified blob, version, or snapshot.

Write a block blob by specifying the list of block IDs that make up the blob.

In order to be written as part of a blob, a block must have been successfully written to the server in a prior Put Block operation.

Write a range of pages to a page blob.

Return the list of valid page ranges for a page blob or snapshot of a page blob.

Commits a new block of data to the end of an existing append blob.

Clear range of pages in a page blob.

Create a shared access signature.

Create a signed blob url

Check whether blob exists.

Create a blob snapshot

Turn into a BlobLeaseClient

Full URL for the blob.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more