Skip to main content

Module config

Module config 

Source
Expand description

Configuration options for types implementing Keystore

Re-exportsยง

use amplify::Getters; ๐Ÿ”’
use derive_deftly::Deftly; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use tor_config::BoolOrAuto; ๐Ÿ”’
use tor_config::ExplicitOrAuto; ๐Ÿ”’
use tor_config::define_list_builder_helper; ๐Ÿ”’
use tor_config::impl_not_auto_value; ๐Ÿ”’
use tor_persist::hsnickname::HsNickname; ๐Ÿ”’
use std::collections::BTreeMap; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use crate::KeystoreId; ๐Ÿ”’
use tor_config::derive::prelude::*; ๐Ÿ”’

Structsยง

ArtiKeystoreConfig
ArtiNativeKeystore configuration
ArtiKeystoreConfigBuilder
A builder to create an instance of ArtiKeystoreConfig.
CTorClientKeystoreConfig
C Tor ArtiNativeKeystore configuration
CTorClientKeystoreConfigBuilder
A builder to create an instance of CTorClientKeystoreConfig.
CTorClientKeystoreConfigListBuilder
Wrapper struct to help derive_builder find the right types and methods
CTorKeystoreConfig
ArtiNativeKeystore configuration
CTorKeystoreConfigBuilder
A builder to create an instance of CTorKeystoreConfig.
CTorServiceKeystoreConfig
C Tor ArtiNativeKeystore configuration
CTorServiceKeystoreConfigBuilder
A builder to create an instance of CTorServiceKeystoreConfig.
CTorServiceKeystoreConfigMapBuilder
Wrapper struct to help derive_builder find the right types and methods
CfgPath
A path in a configuration file: tilde expansion is performed, along with expansion of variables provided by a CfgPathResolver.
PrimaryKeystoreConfig
Primary ArtiNativeKeystore configuration
PrimaryKeystoreConfigBuilder
A builder to create an instance of PrimaryKeystoreConfig.

Enumsยง

ArtiKeystoreKind
The kind of keystore to use
CfgPathError
An error that has occurred while expanding a path.
ConfigBuildError
An error related to an option passed to Arti via a configuration builder.
ConfigurationSource
A configuration file or directory, for use by a ConfigurationSources
Reconfigure
Rules for reconfiguring a running Arti instance.

Functionsยง

build_ctor_client_store_config ๐Ÿ”’
Helper for building and validating a CTorClientKeystoreConfigList.
build_ctor_service_list ๐Ÿ”’
Construct a CTorServiceKeystoreConfigList from a vec of CTorServiceKeystoreConfig; enforce that nicknames are unique.

Type Aliasesยง

CTorClientKeystoreConfigList
The serialized format of a CTorClientKeystoreConfigListBuilder:
CTorServiceKeystoreConfigBuilderMap ๐Ÿ”’
The serialized format of an CTorServiceKeystoreConfigListBuilder: a map from nickname to CTorServiceKeystoreConfigBuilder
CTorServiceKeystoreConfigMap ๐Ÿ”’
Alias for a BTreeMap of CTorServiceKeystoreConfig; used to make derive_builder happy.