Expand description

Core types and traits for the Rust Azure SDK.

This crate is part of the unofficial Azure SDK effort in Rust. For more information on the project, and an overview of other crates, please refer to our GitHub repository.

Modules

Azure authentication and authorization.

Azure HTTP headers.

Parser helper utilities.

The Azure Core prelude.

Endpoints for Azure Resource Manager in different Azure clouds

An assortment of helper utilities.

Macros

The following macro invocation:

Creates setter methods

Structs

Convenience struct that maps a bytes::Bytes buffer into a stream.

Client options allow customization of policies, retry options, and more.

Pipeline execution context.

Retry policy with exponential back-off.

Retry policy with fixed back-off.

Retry policy that does not retry.

A pageable stream that yields items of type T

Execution pipeline.

A pipeline request.

An HTTP Response.

Specify how retries should behave.

Telemetry options.

Transport options.

An unexpected value.

Enums

An HTTP Body.

A general Azure error type.

An error originating from an HTTP client.

An error caused by an HTTP header.

An error caused by a failure to parse data.

An error caused by invalid permissions.

An error originating from a pipeline.

The algorithm to apply when calculating the delay between retry attempts.

An error originating from a streaming response.

An error caused by failure to traverse a data structure.

Constants

An empty HTTP body.

Traits

View a type as an HTTP header.

Add a new query pair into the target URL’s query string.

A type that can yield an optional continuation token

An HTTP client which can send requests.

A pipeline policy.

Enable a type implementing AsyncRead to be consumed as if it were a Stream of Bytes.

Functions

Convenience function that transforms a PinnedStream in a bytes::Bytes struct by collecting all the chunks. It consumes the response stream.

Construct a new HTTP client with the reqwest backend.

Serialize a type to json.

Type Definitions

A specialized Result type for policies.

A unique identifier for a request.

A specialized Result type for this crate.

A unique session token.