Structs§
- Account
- An account registered on the indexer.
- AppKey
- An AppKey is used to sign requests to the indexer.
- AppMeta
- Metadata about an application connecting to the indexer.
- Download
- Downloads data from the Sia network. It does so in chunks to support large files in arbitrary languages.
- Download
Options - Provides options for a download operation.
- Download
Shared - Downloads data from the Sia network. It does so in chunks to support large files in arbitrary languages.
- Encryption
Key - Host
- Information about a storage provider on the Sia network.
- NetAddress
- A network address of a storage provider on the Sia network.
- Objects
Cursor - Used to paginate through objects stored in the indexer.
- Pinned
Object - An object that has been pinned to an indexer. Objects are immutable data stored on the Sia network. The data is erasure-coded and distributed across multiple storage providers. The object is encrypted with a unique encryption key, which is used to encrypt the metadata.
- Pinned
Sector - A sector stored on a specific host.
- Pinned
Slab - A PinnedSlab represents a slab that has been pinned to the indexer.
- Request
Auth Response - The response from requesting app authorization.
- SDK
- An SDK enables interaction with an indexer and storage providers on the Sia network.
- Sealed
Object - Shared
Object - An object that has been shared from an indexer. Shared objects are read-only and cannot be modified. They can be downloaded using [Sdk.download_shared] or pinned using [Sdk.pin_shared].
- Slab
- A Slab represents a contiguous erasure-coded segment of a file stored on the Sia network.
- UniFfi
Trait Vtable Logger - UniFfi
Trait Vtable Upload Progress Callback - Upload
- Uploads data to the Sia network. It does so in chunks to support large files in arbitrary languages.
- Upload
Options - Provides options for an upload operation.
Enums§
- Address
Protocol - The protocol used in a network address.
- AppKey
Error - Download
Error - Encryption
KeyParse Error - Error
- Object
Error - Upload
Error
Traits§
Functions§
- encoded_
size - Calculates the encoded size of data given the original size and erasure coding parameters.
- generate_
recovery_ phrase - Generates a new BIP-32 12-word recovery phrase.
- set_
logger - Sets a foreign logger to receive log messages from the SDK.
- uniffi_
indexd_ ffi_ fn_ init_ callback_ vtable_ logger - uniffi_
indexd_ ffi_ fn_ init_ callback_ vtable_ uploadprogresscallback