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.
It is a library that provides cross-cutting services to other client libraries. Please see the general guidelines.
Re-exports§
Modules§
- Azure authentication and authorization.
- A list of known Azure authority hosts
- Constants related to the Content-Type header
- Azure date and time parsing and formatting
- Azure HTTP headers.
- Parser helper utilities.
- The Azure Core prelude.
- Constants related to query parameters
- Endpoints for Azure Resource Manager in different Azure clouds
- An assortment of helper utilities.
Macros§
- The following macro invocation:
- Return early with an error if a condition is not satisfied.
- Return early with an error if two expressions are not equal to each other.
- Return early with an error if two expressions are equal to each other.
- A convenient way to create a new error using the normal formatting infrastructure
- Declare a
Future
with the given name - Helper for constructing operations
- The following macro invocation:
- The following macro invocation:
- 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.
- A response with the body collected as bytes
- Pipeline execution context.
- Options for how an exponential retry strategy should behave.
- Retry policy with exponential back-off.
- Options for how a fixed retry strategy should behave.
- Retry policy with a 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.
- A response body stream
- Specify how retries should behave.
- Telemetry options.
- Transport options.
- A parsed URL record.
Enums§
- An HTTP Body.
- HTTP request methods.
- HTTP response status codes.
Constants§
- An empty HTTP body.
Traits§
- Add a new query pair into the target URL’s query string.
- A type that can yield an optional continuation token
- View a type as an HTTP header.
- An HTTP client which can send requests.
- A pipeline policy.
- A retry policy.
- Enable a type implementing
AsyncRead
to be consumed as if it were aStream
ofBytes
.
Functions§
- Reads the XML from bytes.
- Construct a new
HttpClient
- Serialize a type to json.
Type Aliases§
- A specialized
Result
type for policies. - A unique identifier for a request.
- A unique session token.