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

An implementation of the EndBASIC service client that talks to a remote server.

Implementations

Creates a new client for the cloud service that talks to api_address.

Trait Implementations

Interactively creates an account based on the details provided in request.

Sends an authentication request to the service with username and password to obtain an access token for the session. Read more

Logs out from the service and clears the access token from this object.

Checks if there is an active session against the service.

Returns the logged in username if there is an active session.

Sends a request to the server to obtain the list of files owned by username with a previously-acquired access_token. Read more

Sends a request to the server to obtain the metadata and/or the contents of filename owned by username as specified in request with a previously-acquired access_token. Read more

Sends a request to the server to update the metadata and/or the contents of filename owned by username as specified in request with a previously-acquired access_token. Read more

Sends a request to the server to delete filename owned by username with a previously-acquired access_token. 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.

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