Struct diem_config::config::KeyManagerConfig [−][src]
pub struct KeyManagerConfig {
pub logger: LoggerConfig,
pub json_rpc_endpoint: String,
pub rotation_period_secs: u64,
pub secure_backend: SecureBackend,
pub sleep_period_secs: u64,
pub txn_expiration_secs: u64,
pub chain_id: ChainId,
}Fields
logger: LoggerConfigjson_rpc_endpoint: Stringrotation_period_secs: u64secure_backend: SecureBackendsleep_period_secs: u64txn_expiration_secs: u64chain_id: ChainIdImplementations
Reads the key manager config file from the given input_path. Paths used in the config are either absolute or relative to the config location
Saves the key manager config file to the given output_path.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for KeyManagerConfig
impl Send for KeyManagerConfig
impl Sync for KeyManagerConfig
impl Unpin for KeyManagerConfig
impl UnwindSafe for KeyManagerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.