Crate indexd_ffi

Crate indexd_ffi 

Source

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.
DownloadOptions
Provides options for a download operation.
DownloadShared
Downloads data from the Sia network. It does so in chunks to support large files in arbitrary languages.
EncryptionKey
Host
Information about a storage provider on the Sia network.
NetAddress
A network address of a storage provider on the Sia network.
ObjectsCursor
Used to paginate through objects stored in the indexer.
PinnedObject
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.
PinnedSector
A sector stored on a specific host.
PinnedSlab
A PinnedSlab represents a slab that has been pinned to the indexer.
RequestAuthResponse
The response from requesting app authorization.
SDK
An SDK enables interaction with an indexer and storage providers on the Sia network.
SealedObject
SharedObject
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.
UniFfiTraitVtableLogger
UniFfiTraitVtableUploadProgressCallback
Upload
Uploads data to the Sia network. It does so in chunks to support large files in arbitrary languages.
UploadOptions
Provides options for an upload operation.

Enums§

AddressProtocol
The protocol used in a network address.
AppKeyError
DownloadError
EncryptionKeyParseError
Error
ObjectError
UploadError

Traits§

Logger
UploadProgressCallback

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