Skip to content

config

Structs

  • BrokerClientConfig - Tunable timeouts and limits for [super::BrokerClient], deserialized from

firma_secret_provider::broker::client::config::BrokerClientConfig

Section titled “firma_secret_provider::broker::client::config::BrokerClientConfig”

Struct

Tunable timeouts and limits for [super::BrokerClient], deserialized from the shim’s firma.toml.

Fields:

  • connection_timeout: std::time::Duration - Deadline for establishing the connection to the broker endpoint.
  • operation_timeout: std::time::Duration - Deadline for a single write-then-read round-trip once connected.
  • max_request_size: bytesize::ByteSize - Cap on the outbound request line size, enforced before connecting.
  • max_response_size: bytesize::ByteSize - Cap on the inbound response line size.

Traits: Copy

Trait Implementations:

  • Default
    • fn default() -> Self
  • Clone
    • fn clone(self: &Self) -> BrokerClientConfig
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result