Struct openstack::session::Session[][src]

pub struct Session { /* fields omitted */ }

An OpenStack API session.

The session object serves as a wrapper around an HTTP(s) client, handling authentication, accessing the service catalog and token refresh.

The session object also owns the endpoint interface to use.

Methods

impl Session
[src]

Create a new session with a given authentication plugin.

The resulting session will use the default endpoint interface (usually, public).

Set endpoint interface to use.

This call clears the cached service information.

Convert this session into one using the given endpoint interface.

Get a reference to the authentication method in use.

Get a mutable reference to the authentication method in use.

Get service info for the given service.

Construct and endpoint for the given service from the path.

Make an HTTP request to the given service.

Trait Implementations

impl From<Session> for Cloud
[src]

Performs the conversion.

impl Debug for Session
[src]

Formats the value using the given formatter. Read more

impl Clone for Session
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Session

impl !Sync for Session