Struct diem_secure_storage::GitHubStorage[][src]

pub struct GitHubStorage { /* fields omitted */ }
Expand description

GitHubStorage leverages a GitHub repository to provide a file system approach to key / value storage. This is not intended for storing private data but for organizing public data.

Implementations

Trait Implementations

Performs the conversion.

Returns an error if the backend service is not online and available.

Retrieves a value from storage and fails if the backend is unavailable or the process has invalid permissions. Read more

Sets a value in storage and fails if the backend is unavailable or the process has invalid permissions. Read more

Resets and clears all data held in the storage engine. Note: this should only be exposed and used for testing. Resetting the storage engine is not something that should be supported in production. Read more

The type returned in the event of a conversion error.

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

Should always be Self

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.