Crate rust_filen

Source

Re-exports§

pub use ureq;
pub use retry;
pub use secstr;
pub use uuid;

Modules§

crypto
This module contains crypto functions used by Filen to generate and process its keys and metadata.
queries
This module contains helper methods to perform arbitrary web queries to Filen servers. You can use it to add some missing API query or re-implement some of them to your liking.
v1

Structs§

FilenSettings
Filen-specific information for API calls, such as Filen server URLs.
RetrySettings
Parameters for exponential backoff retry strategy with random jitter. Default instance performs no retries.
SettingsBundle
Groups together several settings which can be used for API queries, when just FilenSettings does not cut it.

Statics§

DEFAULT_FILEN_SETTINGS
NO_RETRIES
‘No retries’ retry settings with RetrySettings::max_tries set to 0.
STANDARD_RETRIES
Retry settings to retry 5 times with 1, 2, 4, 8 and 15 seconds pause between retries.
STANDARD_SETTINGS_BUNDLE
Bundle with default Filen settings and retry settings to retry 5 times with 1, 2, 4, 8 and 15 seconds pause between retries.