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.
- Json
Response - Wrapped json response for htsget.
- Query
- A query contains all the parameters that can be used when requesting
a search for either of
reads
orvariants
. - 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.
- HtsGet
Error - Htsget specific errors.
Traits§
- IdResolver
- A trait which matches the query id, replacing the match in the substitution text.
- Resolve
Response - A trait for determining the response from
Storage
. - Storage
Clone - 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. - Storage
Middleware - A middleware trait which related to transforming or processing data returned from
StorageTrait
. - Storage
Resolver - A trait which uses storage to resolve requests into responses.
- Storage
Trait - 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.