Crate htsget_storage

Source
Expand description

Module providing the abstractions needed to read files from an storage

Modules§

error
Error and result types for htsget-storage.
local
Module providing an implementation for the StorageTrait trait using the local file system.
types

Structs§

Headers
The headers that need to be supplied when requesting data from a url.
JsonResponse
Wrapped json response for htsget.
Query
A query contains all the parameters that can be used when requesting a search for either of reads or variants.
Response
The response for a HtsGet query.
Storage
The top-level storage type is created from any StorageTrait.
Streamable
A Streamable type represents any AsyncRead data used by StorageTrait.
Url
A url from which raw data can be retrieved.

Enums§

Class
Class component of htsget response.
Format
An enumeration with all the possible formats.
HtsGetError
Htsget specific errors.

Traits§

IdResolver
A trait which matches the query id, replacing the match in the substitution text.
ResolveResponse
A trait for determining the response from Storage.
StorageClone
Allow the StorageTrait to be cloned. This allows cloning a dynamic trait inside a Box. See https://crates.io/crates/dyn-clone for a similar pattern.
StorageMiddleware
A middleware trait which related to transforming or processing data returned from StorageTrait.
StorageResolver
A trait which uses storage to resolve requests into responses.
StorageTrait
A Storage represents some kind of object based storage (either locally or in the cloud) that can be used to retrieve files for alignments, variants or its respective indexes.
UrlFormatter
Formats a url for use with storage.