Module openstack_sdk::types

source ·
Expand description

Types of the SDK

Modules§

Structs§

  • A wrapper around AsyncRead trait allowing returning HTTP response body as something implementing AsyncRead. Returning impl AsyncRead would be the best option, but since we need to return it from inside a trait function it is currently not possible in Rust to do so and the only way is to return Box<dyn AsyncRead>. This is however also challenging, since it is not possible to invoke tokio compat function to convert futures::AsyncRead into tokio::io::AsyncRead. In order to deal with that this wrapper is created and something implementing AsyncRead can be passed into it and further used as anything implementing AsyncRead on its own.
  • A reference to a resource by its Name and ID.

Enums§

Traits§